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