Пример #1
0
 public function __get($propertyName)
 {
     switch ($propertyName) {
         case 'dataObjectMapIds':
             if (!array_key_exists('dataObjectMapIds', $this->properties)) {
                 $this->properties['dataObjectMapIds'] = $this->getDataObjectMaps(false);
             }
             return $this->properties['dataObjectMapIds'];
             break;
         case 'dataObjectMaps':
             return $this->getDataObjectMaps();
             break;
         case 'referenceMapIds':
             if (!array_key_exists('referenceMapIds', $this->properties)) {
                 $this->properties['referenceMapIds'] = $this->getReferenceMaps(false);
             }
             return $this->properties['referenceMapIds'];
             break;
         case 'referenceMaps':
             return $this->getReferenceMaps();
             break;
         default:
             return parent::__get($propertyName);
             break;
     }
 }
Пример #2
0
 public function __get($propertyName)
 {
     $this->checkDirty();
     switch ($propertyName) {
         /*FF::AC::TOP::GETTER::{*/
         /*FF::AC::TOP::GETTER::}*/
         default:
             return parent::__get($propertyName);
             break;
     }
 }
Пример #3
0
 public function __get($propertyName)
 {
     $this->checkDirty();
     switch ($propertyName) {
         case 'fieldIds':
             if (!array_key_exists('fieldIds', $this->properties)) {
                 $this->properties['fieldIds'] = $this->application->dataObjectMapCache->getFields($this, false);
             }
             return $this->properties['fieldIds'];
             break;
         case 'fields':
             return $this->application->dataObjectMapCache->getFields($this);
             break;
         default:
             return parent::__get($propertyName);
             break;
     }
 }
Пример #4
0
 public function __get($propertyName)
 {
     $this->checkDirty();
     switch ($propertyName) {
         /*FF::AC::TOP::GETTER::{*/
         /*FF::AC::GETTER_CASE::image::{*/
         case 'imageIds':
             if (!array_key_exists('imageIds', $this->properties)) {
                 $this->properties['imageIds'] = $this->getImages(false);
             }
             return $this->properties['imageIds'];
             break;
         case 'images':
             return $this->getImages();
             break;
             /*FF::AC::GETTER_CASE::image::}*/
             /*FF::AC::TOP::GETTER::}*/
         /*FF::AC::GETTER_CASE::image::}*/
         /*FF::AC::TOP::GETTER::}*/
         default:
             return parent::__get($propertyName);
             break;
     }
 }
Пример #5
0
 public function __get($propertyName)
 {
     $this->checkDirty();
     switch ($propertyName) {
         case 'dataObjectMapId':
             if (!array_key_exists('dataObjectMapId', $this->properties)) {
                 $this->properties['dataObjectMapId'] = $this->application->dataObjectFieldCache->getDataObjectMap($this, false);
             }
             return $this->properties['dataObjectMapId'];
             break;
         case 'dataObjectMap':
             $this->properties['dataObjectMap'] = $this->application->dataObjectFieldCache->getDataObjectMap($this);
             break;
         case 'localNames':
             if (!array_key_exists('localNames', $this->properties)) {
                 $this->properties['localNames'] = unserialize($this->properties['localName']);
             }
             return $this->properties['localNames'];
             break;
         default:
             return parent::__get($propertyName);
             break;
     }
 }