public function afterRegistry()
 {
     parent::afterRegistry();
     // Make sure we have at least some default data
     if (empty($this->_data)) {
         $this->_data = $this->_getDefaults();
     }
 }
Пример #2
0
 /**
  * Called after the check that all required registry values
  * have been set correctly has run.
  *
  * @return void
  */
 public function afterRegistry()
 {
     parent::afterRegistry();
     // Load the pdf class from the project settings if available
     if (isset($this->project->export) && isset($this->project->export['pdfExportCommand'])) {
         $this->_pdfExportCommand = $this->project->export['pdfExportCommand'];
     }
 }
 /**
  * Called after the check that all required registry values
  * have been set correctly has run.
  *
  * @return void
  */
 public function afterRegistry()
 {
     parent::afterRegistry();
     $this->model = $this->loader->getModels()->getRespondentModel(true);
     if ($this->addLoginCheck) {
         $this->model->addLoginCheck();
     }
     // Load the data
     $this->refresh();
 }