TYPO3 CMS  TYPO3_6-2
FlashMessageService.php
Go to the documentation of this file.
1 <?php
3 
22 
28  protected $flashMessageQueues = array();
29 
38  public function getMessageQueueByIdentifier($identifier = 'core.template.flashMessages') {
39  if (!isset($this->flashMessageQueues[$identifier])) {
40  $this->flashMessageQueues[$identifier] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
41  'TYPO3\CMS\Core\Messaging\FlashMessageQueue',
42  $identifier
43  );
44  }
45  return $this->flashMessageQueues[$identifier];
46  }
47 }
getMessageQueueByIdentifier($identifier='core.template.flashMessages')