TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Messaging\ErrorpageMessage Class Reference
Inheritance diagram for TYPO3\CMS\Core\Messaging\ErrorpageMessage:
TYPO3\CMS\Core\Messaging\AbstractStandaloneMessage TYPO3\CMS\Core\Messaging\AbstractMessage t3lib_message_ErrorpageMessage

Public Member Functions

 __construct ($message='', $title='', $severity=\TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR)
 
- Public Member Functions inherited from TYPO3\CMS\Core\Messaging\AbstractStandaloneMessage
 __construct ($message='', $title='', $severity=\TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR)
 
 setMarkers (array $markers)
 
 getHtmlTemplate ()
 
 setHtmlTemplate ($htmlTemplate)
 
 render ()
 
 output ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\Messaging\AbstractMessage
 getTitle ()
 
 setTitle ($title)
 
 getMessage ()
 
 setMessage ($message)
 
 getSeverity ()
 
 setSeverity ($severity=self::OK)
 
 __toString ()
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Core\Messaging\AbstractMessage
const NOTICE = -2
 
const INFO = -1
 
const OK = 0
 
const WARNING = 1
 
const ERROR = 2
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Messaging\AbstractStandaloneMessage
 getDefaultMarkers ()
 
- Protected Attributes inherited from TYPO3\CMS\Core\Messaging\AbstractStandaloneMessage
 $htmlTemplate
 
 $defaultMarkers = array()
 
 $markers = array()
 
- Protected Attributes inherited from TYPO3\CMS\Core\Messaging\AbstractMessage
 $title = ''
 
 $message = ''
 
 $severity = self::OK
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! A class representing error messages shown on a page. Classic Example: "No pages are found on rootlevel"

Author
Benjamin Mack benni.nosp@m.@typ.nosp@m.o3.or.nosp@m.g

Definition at line 22 of file ErrorpageMessage.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Messaging\ErrorpageMessage::__construct (   $message = '',
  $title = '',
  $severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR 
)

Constructor for an Error message

Parameters
string$messageThe error message
string$titleTitle of the message, can be empty
integer$severityOptional severity, must be either of AbstractMessage::INFO or related constants

Definition at line 31 of file ErrorpageMessage.php.

References TYPO3\CMS\Core\Messaging\AbstractMessage\$message, TYPO3\CMS\Core\Messaging\AbstractMessage\$severity, TYPO3\CMS\Core\Messaging\AbstractMessage\$title, and TYPO3\CMS\Core\Messaging\AbstractStandaloneMessage\setHtmlTemplate().