Beispiel #1
0
 /**
  * Obtains the children objects of this object
  * 
  * @return Array of ObjectRelation objects
  */
 function getObjectRelations()
 {
     if (is_null($this->objectRelations)) {
         $objectRelationMapper = new ObjectRelationMapper();
         $this->objectRelations = $objectRelationMapper->findByParentId($this->getId());
     }
     return $this->objectRelations;
 }