Beispiel #1
0
 public function postError($code, $message = null, $messageReplaces = null)
 {
     $m = new SetMessage();
     $m->code = $code;
     $m->message = $message;
     $m->values = $messageReplaces;
     $this->status->addError($code, $m);
 }
Beispiel #2
0
 protected function _processSecurityError($id)
 {
     if ($id == self::ERROR_DELETED) {
         $this->status->addError('GroutFormSecurity', self::$MESSAGE_ERROR_DELETED);
     } else {
         if ($id == self::ERROR_EARLY) {
             $this->status->addError('GroutFormSecurity', self::$MESSAGE_ERROR_EARLY);
         }
     }
 }