PMA\libraries\Error::getTitle PHP Метод

getTitle() публичный Метод

returns title for error
public getTitle ( ) : string
Результат string
    public function getTitle()
    {
        return $this->getType() . ': ' . $this->getMessage();
    }

Usage Example

 /**
  * display HTML header
  *
  * @param Error $error the error
  *
  * @return void
  */
 protected function dispPageStart($error = null)
 {
     Response::getInstance()->disable();
     echo '<html><head><title>';
     if ($error) {
         echo $error->getTitle();
     } else {
         echo 'phpMyAdmin error reporting page';
     }
     echo '</title></head>';
 }