public function init() { parent::init(); $this->_helper->layout->disableLayout(); //get company_id $company_id = $this->_helper->config('application')->companyid; // set company_id $this->setCompanyId($company_id); //get period list $reviewPeriodList = $this->getReviewPeriod(); //set period list $this->setReviewPeriodList($reviewPeriodList); // pass the period list to the view $this->view->periods = $this->getReviewPeriodList(); $this->_setRequest(); }
public function init() { parent::init(); $this->_helper->layout->disableLayout(); $this->setCompanyId($this->_helper->config('application')->companyid); }
public function init() { parent::init(); $this->_helper->layout->disableLayout(); $this->setUploadPath(realpath($this->_helper->config('application')->uploadPath))->setLoveEmail($this->_helper->config('application')->loveEmail); }