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