public function getRootObjects(IBaseObject $object) { return array(entryPeer::retrieveByPK($object->getEntryId())); }
public function getRootObjects(IBaseObject $object) { /* @var $object CuePoint */ $entry = entryPeer::retrieveByPK($object->getEntryId()); if ($entry) { return array($entry); } return array(); }
public function getRootObjects(IBaseObject $object) { /* @var $object EntryDistribution */ $roots = array(); $distributionProfile = DistributionProfilePeer::retrieveByPK($object->getDistributionProfileId()); if ($distributionProfile) { $roots[] = $distributionProfile; } $entry = entryPeer::retrieveByPK($object->getEntryId()); if ($entry) { $roots[] = $entry; } return $roots; }