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(); }
function init() { /* @var $model \CallStatistic\Manager\MainPage */ $model = $this->getModel(); parent::init(); $this->_fromView->init(); $model->from = $this->_fromView->getModel(); $this->_toView->init(); $model->to = $this->_toView->getModel(); $this->_intervalView->init(); $model->setInterval($this->_intervalView->getModel()); $this->_autoreloadDelayView->init(); // var_dump((int)($this->_autoreloadDelayView->getModel())); $model->setAutoReloadDelay((int) $this->_autoreloadDelayView->getModel()); }