getErrors() public static method

Get errors (optional by type).
public static getErrors ( string $type = null ) : mixed
$type string Type of error.
return mixed
Beispiel #1
0
 /**
  * Parse the default error messages
  */
 private function parseErrorMessages()
 {
     // set frontend locale
     FL::setLocale(BL::getWorkingLanguage(), true);
     // assign error messages
     $this->tpl->assign('errors', BackendFormBuilderModel::getErrors());
 }