function init() { /* @var $model \Billing\Searcher */ $model = $this->getModel(); parent::init(); $this->_filterView->init(); $model->setFilter($this->_filterView->getModel()); $this->_SUBSCRIBERView->init(); $model->setSUBSCRIBER($this->_SUBSCRIBERView->getModel()); }
function init() { /* @var $model \Billing\Searcher */ $model = $this->getModel(); parent::init(); $this->_filterView->init(); $this->_idView->init(); if ($this->_idView->getModel()) { $this->_model = \Billing\Core::getEm()->find('Billing\\Domain\\Subscriber', $this->_idView->getModel()); } else { $this->_model = null; } }