/**
  * @return string
  * @permissions view,right
  */
 protected function actionParticipantConfirmation()
 {
     $strMessage = "";
     $objEvent = new class_module_eventmanager_event($this->getSystemid());
     if (validateSystemid($this->getParam("participantId"))) {
         $arrParticipants = class_module_eventmanager_participant::getObjectList($objEvent->getSystemid());
         foreach ($arrParticipants as $objOneParticipant) {
             if ($objOneParticipant->getSystemid() == $this->getParam("participantId")) {
                 $objOneParticipant->setIntRecordStatus(1);
                 $objOneParticipant->updateObjectToDb();
                 $strMessage = $this->getLang("participantSuccessConfirmation");
                 break;
             }
         }
         if ($strMessage == "") {
             $strMessage = $this->getLang("participantErrorConfirmation");
         }
         class_module_pages_portal::registerAdditionalTitle($objEvent->getStrTitle());
     } else {
         $strMessage = $this->getLang("commons_error_permissions");
     }
     $strWrapperID = $this->objTemplate->readTemplate("/module_eventmanager/" . $this->arrElementData["char1"], "event_register_message");
     $strReturn = $this->objTemplate->fillTemplate(array("title" => $objEvent->getStrTitle(), "message" => $strMessage), $strWrapperID);
     return $strReturn;
 }
 public function isParticipant($strUserid)
 {
     return class_module_eventmanager_participant::getParticipantByUserid($strUserid, $this->getSystemid()) !== null;
 }