Beispiel #1
0
 public function setFieldError($field, $error)
 {
     if (!isset($this->_fields[$field])) {
         throw new \Exceptions\DevelException('_BUILDER_FIELD_NF__' . $field);
     }
     $this->_error = true;
     $this->_fields[$field]->setError($error);
     $this->_generalError = self::$_textErrorValid;
     if (self::$_autoError) {
         \Components\Infoblock::setInfo(self::$_textErrorValid);
     }
     return true;
 }
Beispiel #2
0
 protected function setInfo($info)
 {
     \Components\Infoblock::setInfo($info);
 }