Depending on the FlashMessages
Exibir arquivo
Open project: neos/flow-development-collection
Class Usage Examples
Property | Type | Description | |
---|---|---|---|
$tagName | string |
Method | Description | |
---|---|---|
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). |
Method | Description | |
---|---|---|
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 | ||
return | 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) |
return | string | rendered Flash Messages, if there are any. |
protected renderAsList ( array $flashMessages ) : string | ||
$flashMessages | array | |
return | string |