Example #1
0
 /**
  *
  * @return array
  */
 public function newAction()
 {
     $this->view->contentTitle = $this->i18n->_('New Participant');
     $this->view->respondent = new Respondent();
     $this->view->setTpl('Form');
     $this->view->action = 'create';
     $this->view->profiles = SapSupplier::getCustomerProfilesCombo($this->i18n->_('Customer Profiles'));
     $this->view->genders = array("" => "Select Gender") + Respondent::$GenderCombo;
 }