getErrors() 공개 정적인 메소드

Get errors (optional by type).
public static getErrors ( string $type = null ) : mixed
$type string Type of error.
리턴 mixed
예제 #1
0
파일: Edit.php 프로젝트: bwgraves/forkcms
 /**
  * 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());
 }