You are here

protected function CerHandler::getLocalReferenceIDs in Corresponding Entity References 7.2

Gets the IDs of the entities referenced by the local entity.

Return value

array Array of entity IDs, empty array if there are no references.

4 calls to CerHandler::getLocalReferenceIDs()
CerHandler::addReferenceTo in ./handler.inc
Creates a reference to the remote entity on the local entity. Throws CerException if the local entity already references the remote entity, or if the field cannot hold any more values.
CerHandler::getReferencedEntities in ./handler.inc
Gets all the entities referenced by the local entity.
CerHandler::references in ./handler.inc
Implements CerHandlerInterface::references().
CerHandler::update in ./handler.inc
Implements CerHandlerInterface::update().

File

./handler.inc, line 399
Contains base code for CER handlers, which are objects responsible for creating, updating and deleting corresponding references between entities.

Class

CerHandler
@class Generic CER handler with rudimentary language handling.

Code

protected function getLocalReferenceIDs() {
  return $this
    ->getReferenceIDs($this->entity, $this->local);
}