예제 #1
0
 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());
 }
예제 #2
0
 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;
     }
 }