コード例 #1
0
 /**
  * Creates or displayes an error message telling the user that the submitted
  * form token is invalid.
  *
  * @return void
  * @deprecated since 6.2, will be removed two versions later. Message handling is done by install tool
  */
 protected function createValidationErrorMessage()
 {
     // @deprecated since 6.2, neither the install tool class nor the addErrorMessage() exist anymore
     if (is_object($this->installTool)) {
         $this->installTool->addErrorMessage('Validating the security token of this form has failed. ' . 'Please reload the form and submit it again.');
     }
 }
コード例 #2
0
 /**
  * Creates or displayes an error message telling the user that the submitted
  * form token is invalid.
  *
  * @return void
  */
 protected function createValidationErrorMessage()
 {
     $this->installTool->addErrorMessage('Validating the security token of this form has failed. ' . 'Please reload the form and submit it again.');
 }