Пример #1
0
 /**
  * Obtains the ObjectAttribute values of this object
  *
  * @return Array of ObjectAttribute objects
  */
 function getAttributes()
 {
     if (is_null($this->attributes)) {
         $objectAttributeMapper = new ObjectAttributeMapper();
         $this->attributes = $objectAttributeMapper->findByObjectId($this->getId());
     }
     return $this->attributes;
 }