protected function _init() { parent::_init(); unset($this->_config['data']); }
/** * auto init for setting up items passed into constructor * * @return void */ protected function _init() { parent::_init(); $data = $this->_data; $this->_data = array(); foreach ($data as $item) { $this->add($item); } }