/**
  * Update placeholder
  */
 public function updatePlaceholder()
 {
     try {
         $placeholder = srCertificatePlaceholder::find($_REQUEST['placeholder_id']);
         if ($placeholder === null) {
             throw new srCertificateException("Placeholder with ID " . $_REQUEST['placeholder_id'] . " not found");
         }
         $form = new srCertificateTypePlaceholderFormGUI($this, $placeholder);
         if ($form->saveObject()) {
             ilUtil::sendSuccess($this->pl->txt('msg_placeholder_saved'), true);
             $this->ctrl->redirect($this, 'showPlaceholders');
         } else {
             $this->tpl->setContent($form->getHTML());
         }
     } catch (ilException $e) {
         ilUtil::sendFailure($e->getMessage(), true);
         $this->ctrl->redirect($this, 'showPlaceholders');
     }
 }
 /**
  * @return \srCertificatePlaceholder
  */
 public function getPlaceholder()
 {
     if (is_null($this->placeholder)) {
         $this->placeholder = srCertificatePlaceholder::find($this->getPlaceholderId());
     }
     return $this->placeholder;
 }