Ejemplo n.º 1
0
 function init()
 {
     /* @var $model \CallStatistic\Manager\AuthPage */
     $model = $this->getModel();
     $this->_usernameView->init();
     $model->setUsername($this->_usernameView->getModel());
     $this->_passwordView->init();
     $model->setPassword($this->_passwordView->getModel());
     parent::init();
 }
Ejemplo n.º 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;
     }
 }