ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Go to the source code of this file.
Data Structures | |
class | Twig_Extensions_Extension_Intl |
Functions | |
twig_localized_date_filter (Twig_Environment $env, $date, $dateFormat='medium', $timeFormat='medium', $locale=null, $timezone=null, $format=null, $calendar='gregorian') | |
twig_localized_number_filter ($number, $style='decimal', $type='default', $locale=null) | |
twig_localized_currency_filter ($number, $currency=null, $locale=null) | |
twig_get_number_formatter ($locale, $style) | |
Gets a number formatter instance according to given locale and formatter. More... | |
twig_get_number_formatter | ( | $locale, | |
$style | |||
) |
Gets a number formatter instance according to given locale and formatter.
string | $locale | Locale in which the number would be formatted |
int | $style | Style of the formatting |
Definition at line 100 of file Intl.php.
References $style.
Referenced by twig_localized_currency_filter(), and twig_localized_number_filter().
twig_localized_currency_filter | ( | $number, | |
$currency = null , |
|||
$locale = null |
|||
) |
Definition at line 85 of file Intl.php.
References twig_get_number_formatter().
twig_localized_date_filter | ( | Twig_Environment | $env, |
$date, | |||
$dateFormat = 'medium' , |
|||
$timeFormat = 'medium' , |
|||
$locale = null , |
|||
$timezone = null , |
|||
$format = null , |
|||
$calendar = 'gregorian' |
|||
) |
Definition at line 42 of file Intl.php.
References $calendar, $env, $format, and twig_date_converter().
Referenced by Twig_Tests_Extension_IntlTest\testLocalizedDateFilterWithDateTimeZone().
twig_localized_number_filter | ( | $number, | |
$style = 'decimal' , |
|||
$type = 'default' , |
|||
$locale = null |
|||
) |
Definition at line 66 of file Intl.php.
References $style, $type, and twig_get_number_formatter().