CurrencyViewHelper extends AbstractViewHelper

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <f:format.currency>

FinalYes

ViewHelper which formats a given float to a currency representation.

  <f:format.currency decimalSeparator="." thousandsSeparator="," decimals="2"
        currencySign="$" prependCurrency="true" separateCurrency="false">
    54321
  </f:format.currency>
Tags
see
https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-format-currency

Table of Contents

Properties

$escapeChildren  : bool
Output is escaped already. We must not escape children, to avoid double encoding.

Methods

initializeArguments()  : void
render()  : string

Properties

$escapeChildren

Output is escaped already. We must not escape children, to avoid double encoding.

protected bool $escapeChildren = false

Methods

initializeArguments()

public initializeArguments() : void

render()

public render() : string
Return values
string

        
On this page

Search results