/** * Вовзращает путь до шаблона * * @return string */ protected function get_path() { return parent::get_path() . '.pjson'; }
public function __get($property) { switch ($property) { case 'record_data': return $this->{$property}; default: return parent::__get($property); } }
/** * Очищает свойство объекта * * @param string $property */ public function __unset($property) { switch ($property) { case 'xml': throw new Core_UndestroyablePropertyException($property); default: parent::__unset($property); } }