Fully Qualified Name: | Zend\View\Helper\FlashMessenger |
Extends: | AbstractHelper |
Helper to proxy the plugin flash messenger
Duck-types against Zend\I18n\Translator\TranslatorAwareInterface.
Name | Description | Defined By |
---|---|---|
__call() | Proxy the flash messenger plugin controller | FlashMessenger |
__invoke() | Returns the flash messenger plugin controller | FlashMessenger |
getAutoEscape() | Return whether auto escaping is enabled or disabled | FlashMessenger |
getMessageCloseString() | Get the string used to close message representation | FlashMessenger |
getMessageOpenFormat() | Get the formatted string used to open message representation | FlashMessenger |
getMessageSeparatorString() | Get the string used to separate messages | FlashMessenger |
getPluginFlashMessenger() | Get the flash messenger plugin | FlashMessenger |
getView() | Get the view object | AbstractHelper |
render() | Render Messages | FlashMessenger |
renderCurrent() | Render Current Messages | FlashMessenger |
setAutoEscape() | Set whether or not auto escaping should be used | FlashMessenger |
setMessageCloseString() | Set the string used to close message representation | FlashMessenger |
setMessageOpenFormat() | Set the formatted string used to open message representation | FlashMessenger |
setMessageSeparatorString() | Set the string used to separate messages | FlashMessenger |
setPluginFlashMessenger() | Set the flash messenger plugin | FlashMessenger |
setView() | Set the View object | AbstractHelper |
Proxy the flash messenger plugin controller
Parameter Name | Type | Description |
---|---|---|
$method | string | |
$argv | array |
Returns: mixed
Returns the flash messenger plugin controller
Parameter Name | Type | Description |
---|---|---|
$namespace | string|null |
Returns: \FlashMessenger|\V2PluginFlashMessenger|\PluginFlashMessenger
Return whether auto escaping is enabled or disabled
return bool
Returns:
Get the string used to close message representation
Returns: string
Get the formatted string used to open message representation
Returns: string
Get the string used to separate messages
Returns: string
Get the flash messenger plugin
Returns: \V2PluginFlashMessenger|\PluginFlashMessenger
Get the view object
Returns: null|\Renderer
Render Messages
Parameter Name | Type | Description |
---|---|---|
$namespace | string | |
$classes | array | |
$autoEscape | null|bool |
Returns: string
Render Current Messages
Parameter Name | Type | Description |
---|---|---|
$namespace | string | |
$classes | array | |
$autoEscape | bool|null |
Returns: string
Set whether or not auto escaping should be used
Parameter Name | Type | Description |
---|---|---|
$autoEscape | bool |
Returns: self
Set the string used to close message representation
Parameter Name | Type | Description |
---|---|---|
$messageCloseString | string |
Returns: \FlashMessenger
Set the formatted string used to open message representation
Parameter Name | Type | Description |
---|---|---|
$messageOpenFormat | string |
Returns: \FlashMessenger
Set the string used to separate messages
Parameter Name | Type | Description |
---|---|---|
$messageSeparatorString | string |
Returns: \FlashMessenger
Set the flash messenger plugin
Parameter Name | Type | Description |
---|---|---|
$pluginFlashMessenger | \V2PluginFlashMessenger|\PluginFlashMessenger |
Returns: \FlashMessenger
Set the View object
Parameter Name | Type | Description |
---|---|---|
$view | \Renderer |
Returns: \AbstractHelper