InfoboxViewHelper extends AbstractViewHelper

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <f:be.infobox>

FinalYes

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\Fluid\ViewHelpers\Be\InfoboxViewHelper::STATE_ERROR')}" iconName="check">your box content</f:be.infobox>
Tags
see
https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-be-infobox

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_NOTICE

public mixed STATE_NOTICE = -2

STATE_WARNING

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
string

initializeArguments()

public initializeArguments() : void

render()

public render() : string
Return values
string

        
On this page

Search results