public function CerFieldChainHandler::getIDs in Corresponding Entity References 7.3
Returns the IDs of every entity referenced in this chain. If there are no references, an empty array is returned.
Return value
array
File
- includes/
CerFieldChainHandler.inc, line 63 - Contains the CerFieldChainHandler object.
Class
- CerFieldChainHandler
- @class Wraps around every CerFieldHandler object in a chain. In any given chain, there could be many entities that need to be processed -- think about multi-value field collections embedded within other multi-value field collections, and you…
Code
public function getIDs() {
$IDs = array();
foreach ($this->handlers as $handler) {
$IDs = array_merge($handler
->getIDs(), $IDs);
}
return array_unique($IDs);
}