Intl.php
Interfaces, Classes and Traits
Table of Contents
- twig_localized_date_filter() : mixed
- twig_localized_number_filter() : mixed
- twig_localized_currency_filter() : mixed
- twig_get_number_formatter() : NumberFormatter
- Gets a number formatter instance according to given locale and formatter.
Functions
twig_localized_date_filter()
twig_localized_date_filter(Twig_Environment $env, mixed $date[, mixed $dateFormat = 'medium' ][, mixed $timeFormat = 'medium' ][, mixed $locale = null ][, mixed $timezone = null ][, mixed $format = null ][, mixed $calendar = 'gregorian' ]) : mixed
Parameters
- $env : Twig_Environment
- $date : mixed
- $dateFormat : mixed = 'medium'
- $timeFormat : mixed = 'medium'
- $locale : mixed = null
- $timezone : mixed = null
- $format : mixed = null
- $calendar : mixed = 'gregorian'
Return values
mixed —twig_localized_number_filter()
twig_localized_number_filter(mixed $number[, mixed $style = 'decimal' ][, mixed $type = 'default' ][, mixed $locale = null ]) : mixed
Parameters
- $number : mixed
- $style : mixed = 'decimal'
- $type : mixed = 'default'
- $locale : mixed = null
Return values
mixed —twig_localized_currency_filter()
twig_localized_currency_filter(mixed $number[, mixed $currency = null ][, mixed $locale = null ]) : mixed
Parameters
- $number : mixed
- $currency : mixed = null
- $locale : mixed = null
Return values
mixed —twig_get_number_formatter()
Gets a number formatter instance according to given locale and formatter.
twig_get_number_formatter(string $locale, int $style) : NumberFormatter
Parameters
- $locale : string
-
Locale in which the number would be formatted
- $style : int
-
Style of the formatting
Return values
NumberFormatter —A NumberFormatter instance