Ejemplo n.º 1
0
 protected function __construct(array $field = array())
 {
     $this->_model = Arr::get($field, 'model', $this->_model);
     $this->_key = Arr::get($field, 'key', $this->_key);
     $this->_view_value = Arr::get($field, 'view_value', $this->_view_value);
     $this->_rules = Arr::get($field, 'rules', $this->_rules);
     $this->_allow_empty = Arr::get($field, 'allow_empty', $this->_allow_empty);
     $this->_empty_value = Arr::get($field, 'empty_value', $this->_empty_value);
     parent::__construct($field);
 }