Depending on the FlashMessages
Показать файл
Открыть проект
Примеры использования класса
Свойство | Тип | Описание | |
---|---|---|---|
$tagName | string |
Метод | Описание | |
---|---|---|
initializeArguments ( ) : void | Initialize arguments | |
render ( string $as = null, string $severity = null ) : string | Renders flash messages that have been added to the FlashMessageContainer in previous request(s). |
Метод | Описание | |
---|---|---|
renderAsList ( array $flashMessages ) : string | Render the flash messages as unsorted list. This is triggered if no "as" argument is given to the ViewHelper. | |
renderFromTemplate ( array $flashMessages, string $as ) : string | Defer the rendering of Flash Messages to the template. In this case, the flash messages are stored in the template inside the variable specified in "as". |
public initializeArguments ( ) : void | ||
Результат | void |
public render ( string $as = null, string $severity = null ) : string | ||
$as | string | The name of the current flashMessage variable for rendering inside |
$severity | string | severity of the messages (One of the \Neos\Error\Messages\Message::SEVERITY_* constants) |
Результат | string | rendered Flash Messages, if there are any. |
protected renderAsList ( array $flashMessages ) : string | ||
$flashMessages | array | |
Результат | string |