protected function getObjectIdsForNodeIds(array $nodeIds)
    {
        $objectIds = array();

        foreach ($nodeIds as $nodeId) {
            $object = eZContentObject::fetchByNodeID($nodeId);
            if ($object instanceof eZContentObject) {
                $objectIds[] = $object->attribute('id');
            }
        }

        return $objectIds;
    }
protected function getObjectIdsForNodeIds(array $nodeIds)
    {
        $objectIds = array();

        foreach ($nodeIds as $nodeId) {
            $object = eZContentObject::fetchByNodeID($nodeId);
            if ($object instanceof eZContentObject) {
                $objectIds[] = $object->attribute('id');
            }
        }

        return $objectIds;
    }
protected function getObjectIdsForNodeIds ( array $ nodeIds ) { $ objectIds = array ( ) ; foreach ( $ nodeIds as $ nodeId ) { $ object = eZContentObject :: fetchByNodeID ( $ nodeId ) ; if ( $ object instanceof eZContentObject ) { $ objectIds [ ] = $ object -> attribute ( 'id' ) ; } } return $ objectIds ; }
Returns all object IDs for provided node IDs.

@param array $nodeIds

@return array
Returns all object IDs for provided node IDs .