public function afterRegistry() { parent::afterRegistry(); // Load the display dateformat $dateOptions = \MUtil_Model_Bridge_FormBridge::getFixedOptions('date'); $this->_dateFormat = $dateOptions['dateFormat']; $this->creator = \Gems_Html::init(); // find the menu items only once for more efficiency $this->_trackAnswer = $this->findMenuItem('track', 'answer'); $this->_trackEdit = $this->findMenuItem('track', 'edit-track'); $this->_trackDelete = $this->findMenuItem('track', 'delete-track'); $this->_surveyAnswer = $this->findMenuItem('survey', 'answer'); $this->_takeSurvey = $this->findMenuItem('ask', 'take'); }
public function afterRegistry() { parent::afterRegistry(); // Load the display dateformat $dateOptions = \MUtil_Model_Bridge_FormBridge::getFixedOptions('date'); $this->_dateFormat = $dateOptions['dateFormat']; $this->creator = \Gems_Html::init(); }