Пример #1
0
 /**
  * Get the field object
  * @param string $name
  * @return Yada_Field
  */
 protected function _field($name, $model = NULL)
 {
     $model = isset($model) ? $model : $this->_model;
     return $this->_meta->fields($model)->{$name};
 }