TYPO3/Extbase/Domain/Model/BaseValueObject.php
public function getCheckedUidsAsArray($property)
    {
        $array = array();
        $entities = $this->{'get' . ucfirst($property)}();

        foreach ($entities as $item) {
            $array[$item->getUid()] = $item->getUid();
        }

        return $array;
    }
public function getCheckedUidsAsArray($property)
    {
        $array = array();
        $entities = $this->{'get' . ucfirst($property)}();

        foreach ($entities as $item) {
            $array[$item->getUid()] = $item->getUid();
        }

        return $array;
    }
public function getCheckedUidsAsArray ( $ property ) { $ array = array ( ) ; $ entities = $ this -> { 'get' . ucfirst ( $ property ) } ( ) ; foreach ( $ entities as $ item ) { $ array [ $ item -> getUid ( ) ] = $ item -> getUid ( ) ; } return $ array ; }
Returns the UIDs of releated entites as array

@param string $property
@return array
Returns the UIDs of releated entites as array