public function __get($propertyName) { $this->checkDirty(); switch ($propertyName) { case 'dataObjectMapId': if (!array_key_exists('dataObjectMapId', $this->properties)) { $this->properties['dataObjectMapId'] = $this->getDataObjectMap(); } return $this->properties['dataObjectMapId']; break; case 'dataObjectMap': $this->properties['dataObjectMap'] = $this->getDataObjectMap(); break; case 'localNames': if (!array_key_exists('localNames', $this->properties)) { if (trim($this->properties['localName'] != '')) { $this->properties['localNames'] = @unserialize($this->properties['localName']); } else { $this->properties['localNames'] = array('nominative' => ''); } } return $this->properties['localNames']; break; default: return parent::__get($propertyName); break; } }
public function __get($propertyName) { $this->checkDirty(); switch ($propertyName) { case 'referenceMapId': if (!array_key_exists('referenceMapId', $this->properties)) { $this->properties['referenceMapId'] = $this->getReferenceMap(false); } return $this->properties['referenceMapId']; break; case 'referenceMap': return $this->getReferenceMap(); break; case 'referencedObjectId': if (!array_key_exists('referencedObjectId', $this->properties)) { $this->properties['referencedObjectId'] = $this->getRerefencedObject(false); } return $this->properties['referencedObjectId']; break; case 'referencedObject': return $this->getRerefencedObject(); 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; } }
public function __get($propertyName) { $this->checkDirty(); switch ($propertyName) { case 'fieldIds': if (!array_key_exists('fieldIds', $this->properties)) { $this->properties['fieldIds'] = $this->getFields(false); } return $this->properties['fieldIds']; break; case 'fields': return $this->getFields(true); break; default: return parent::__get($propertyName); break; } }