示例#1
0
 /**
  * 获取属性
  * @param $property
  *
  * @return null
  */
 function __get($property)
 {
     if (isset($this->_data[$property])) {
         return $this->_data[$property];
     } else {
         Error::pecho("Record object no property: {$property}");
         return null;
     }
 }