protected function _init()
{
parent::_init();
foreach ($this->_fields as $key => $type) {
if (is_string($type)) {
$this->_fields[$key] = compact('type');
continue;
}
if (isset($this->_fields[$key][0]) && !isset($this->_fields[$key]['type'])) {
$this->_fields[$key]['type'] = $this->_fields[$key][0];
unset($this->_fields[$key][0]);
}
}
}