예제 #1
0
 /**
  * Retrieve the consentCODE to use for rejected responses by the survey system
  * The mapping of actual consents to consentCODEs is done in the gems__consents table
  *
  * @return string Default value is 'do not use'
  * @throws \Gems_Exception_Coding
  */
 public function getConsentRejected()
 {
     if ($this->project->offsetExists('consentRejected')) {
         return $this->project->consentRejected;
     }
     if ($this->project->offsetExists('concentRejected')) {
         throw new \Gems_Exception_Coding('project.ini setting was changed from "concentRejected" to "consentRejected", please update your project.ini');
     }
     return 'do not use';
 }