InfoboxViewHelper extends AbstractViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <f:be.infobox>
ViewHelper for rendering a styled content infobox markup.
<f:be.infobox title="Message title">your box content</f:be.infobox>
<f:be.infobox title="Error!" state="{f:constant(name: 'TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::ERROR')}" iconName="check">your box content</f:be.infobox>
Tags
Table of Contents
Constants
- STATE_ERROR = 2
- STATE_INFO = -1
- STATE_NOTICE = -2
- STATE_OK = 0
- STATE_WARNING = 1
Properties
- $escapeOutput : bool
- As this ViewHelper renders HTML, the output must not be escaped.
Methods
- getContentArgumentName() : string
- Explicitly set argument name to be used as content.
- initializeArguments() : void
- render() : string
Constants
STATE_ERROR
since v14, will be removed in v15. Use ContextualFeedbackSeverity::ERROR instead.
public
mixed
STATE_ERROR
= 2
STATE_INFO
since v14, will be removed in v15. Use ContextualFeedbackSeverity::INFO instead.
public
mixed
STATE_INFO
= -1
STATE_NOTICE
since v14, will be removed in v15. Use ContextualFeedbackSeverity::NOTICE instead.
public
mixed
STATE_NOTICE
= -2
STATE_OK
since v14, will be removed in v15. Use ContextualFeedbackSeverity::OK instead.
public
mixed
STATE_OK
= 0
STATE_WARNING
since v14, will be removed in v15. Use ContextualFeedbackSeverity::WARNING instead.
public
mixed
STATE_WARNING
= 1
Properties
$escapeOutput
As this ViewHelper renders HTML, the output must not be escaped.
protected
bool
$escapeOutput
= false
Methods
getContentArgumentName()
Explicitly set argument name to be used as content.
public
getContentArgumentName() : string
Return values
stringinitializeArguments()
public
initializeArguments() : void
render()
public
render() : string