/** * Called after the check that all required registry values * have been set correctly has run. * * @return void */ public function afterRegistry() { parent::afterRegistry(); if ($this->buttonClass) { if (!$this->buttonNoClass) { $this->buttonNoClass = $this->buttonClass; } if (!$this->buttonYesClass) { $this->buttonYesClass = $this->buttonClass; } } }
/** * Called after the check that all required registry values * have been set correctly has run. * * @return void */ public function afterRegistry() { parent::afterRegistry(); if ($this->showForRespondents && is_bool($this->showForRespondents)) { $this->showForRespondents = $this->_('by Respondents'); } if ($this->showForStaff && is_bool($this->showForStaff)) { $this->showForStaff = $this->_('by Staff'); } if ($this->showForTracks && is_bool($this->showForTracks)) { $this->showForTracks = $this->_('Tracks'); } if ($this->showTitle && is_bool($this->showTitle)) { $this->showTitle = $this->_('Add'); } }
public function afterRegistry() { parent::afterRegistry(); $orgId = $this->request->getParam(\MUtil_Model::REQUEST_ID2); $patientNr = $this->request->getParam(\MUtil_Model::REQUEST_ID1); if (!$this->data) { $data = $this->loader->getTracker()->getTokenSelect()->andRespondentOrganizations()->andReceptionCodes(array())->andSurveys()->forWhere('gsu_code = ?', $this->survey_code)->forWhere('grc_success = 1')->forWhere('gr2o_id_organization = ?', $orgId)->forWhere('gr2o_patient_nr = ?', $patientNr)->order('gto_completion_time')->fetchAll(); $this->data = $data; } if (!empty($this->data)) { $firstRow = reset($this->data); if (array_key_exists('gto_id_token', $firstRow)) { $this->token = $this->loader->getTracker()->getToken($firstRow)->refresh(); } } }
/** * Called after the check that all required registry values * have been set correctly has run. * * @return void */ public function afterRegistry() { parent::afterRegistry(); $this->loadExport(); }
/** * Called after the check that all required registry values * have been set correctly has run. * * @return void */ public function afterRegistry() { parent::afterRegistry(); if ($this->util && false !== $this->searchData && !$this->requestCache) { $this->requestCache = $this->util->getRequestCache(); } if ($this->requestCache) { // Do not store searchButtonId $this->requestCache->removeParams($this->searchButtonId); } }