getError() 공개 메소드

Returns the error type or message for an invalid authentication.
public getError ( boolean $msg = false ) : mixed
$msg boolean If true, returns the message string (if set).
리턴 mixed Error type, error message (if $msg is true) or false if entry doesn't exist.
예제 #1
0
파일: Application.php 프로젝트: horde/horde
 /**
  * Returns the error type or message for an invalid authentication.
  *
  * @param boolean $msg  If true, returns the message string (if set).
  *
  * @return mixed  Error type, error message (if $msg is true) or false
  *                if entry doesn't exist.
  */
 public function getError($msg = false)
 {
     return $this->_base ? $this->_base->getError($msg) : parent::getError($msg);
 }