2 namespace TYPO3\CMS\Core\Messaging;
71 $this->markers = array_merge($this->markers, $markers);
82 self::NOTICE =>
'notice',
83 self::INFO =>
'information',
85 self::WARNING =>
'warning',
86 self::ERROR =>
'error'
89 '###CSS_CLASS###' => $classes[$this->severity],
90 '###TITLE###' => $this->title,
91 '###MESSAGE###' => $this->message,
96 '###TYPO3_mainDir###' => TYPO3_mainDir,
97 '###TYPO3_copyright_year###' => TYPO3_copyright_year
109 if (!$this->htmlTemplate) {
110 throw new \RuntimeException(
'No HTML template file has been defined, yet', 1314390127);
124 if (!file_exists($this->htmlTemplate)) {
125 throw new \RuntimeException(
'Template file "' . $this->htmlTemplate .
'" not found', 1312830504);
139 $content = $templateService->substituteMarkerArray($content,
$markers,
'',
false,
true);
150 $content = $this->
render();