예제 #1
0
파일: core.php 프로젝트: jerfowler/yada
 /**
  * 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};
 }