protected function _init() { parent::_init(); $this->_handlers += array('integer' => function ($v) { return (int) $v; }, 'float' => function ($v) { return (double) $v; }, 'boolean' => function ($v) { return (bool) $v; }); }