TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Messaging\FlashMessageService Class Reference
Inheritance diagram for TYPO3\CMS\Core\Messaging\FlashMessageService:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 getMessageQueueByIdentifier ($identifier='core.template.flashMessages')
 

Protected Attributes

 $flashMessageQueues = array()
 

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 flash messages.

Author
Alexander Schnitzler alex..nosp@m.schn.nosp@m.itzle.nosp@m.r@ty.nosp@m.povis.nosp@m.ion..nosp@m.de

Definition at line 21 of file FlashMessageService.php.

Member Function Documentation

◆ getMessageQueueByIdentifier()

TYPO3\CMS\Core\Messaging\FlashMessageService::getMessageQueueByIdentifier (   $identifier = 'core.template.flashMessages')

Return the message queue for the given identifier. If no queue exists, an empty one will be created.

Parameters
string$identifier
Returns

Definition at line 38 of file FlashMessageService.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Data Documentation

◆ $flashMessageQueues

TYPO3\CMS\Core\Messaging\FlashMessageService::$flashMessageQueues = array()
protected

Definition at line 28 of file FlashMessageService.php.