PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Public Member Functions | |
setDateFormat ($format=null, $dateIntervalFormat=null) | |
Sets the default format to be used by the date filter. More... | |
getDateFormat () | |
Gets the default format to be used by the date filter. More... | |
setTimezone ($timezone) | |
Sets the default timezone to be used by the date filter. More... | |
getTimezone () | |
Gets the default timezone to be used by the date filter. More... | |
setNumberFormat ($decimal, $decimalPoint, $thousandSep) | |
Sets the default format to be used by the number_format filter. More... | |
getNumberFormat () | |
Get the default format used by the number_format filter. More... | |
getTokenParsers () | |
Returns the token parser instance to add to the existing list. More... | |
getFilters () | |
Returns a list of filters to add to the existing list. More... | |
getFunctions () | |
Returns a list of global functions to add to the existing list. More... | |
getTests () | |
Returns a list of tests to add to the existing list. More... | |
getOperators () | |
Returns a list of operators to add to the existing list. More... | |
parseNotTestExpression (Twig_Parser $parser, $node) | |
parseTestExpression (Twig_Parser $parser, $node) | |
getName () | |
Returns the name of the extension. More... | |
Public Member Functions inherited from Twig_Extension | |
initRuntime (Twig_Environment $environment) | |
Initializes the runtime environment. More... | |
getTokenParsers () | |
Returns the token parser instances to add to the existing list. More... | |
getNodeVisitors () | |
Returns the node visitor instances to add to the existing list. More... | |
getFilters () | |
Returns a list of filters to add to the existing list. More... | |
getTests () | |
Returns a list of tests to add to the existing list. More... | |
getFunctions () | |
Returns a list of functions to add to the existing list. More... | |
getOperators () | |
Returns a list of operators to add to the existing list. More... | |
getGlobals () | |
Returns a list of global variables to add to the existing list. More... | |
Protected Member Functions | |
getTestNodeClass (Twig_Parser $parser, $name, $line) | |
Protected Attributes | |
$dateFormats = array('F j, Y H:i', '%d days') | |
$numberFormat = array(0, '.', ',') | |
$timezone = null | |
getDateFormat | ( | ) |
getFilters | ( | ) |
Returns a list of filters to add to the existing list.
Implements Twig_ExtensionInterface.
getFunctions | ( | ) |
Returns a list of global functions to add to the existing list.
Implements Twig_ExtensionInterface.
getName | ( | ) |
Returns the name of the extension.
Implements Twig_ExtensionInterface.
getNumberFormat | ( | ) |
getOperators | ( | ) |
Returns a list of operators to add to the existing list.
Implements Twig_ExtensionInterface.
|
protected |
getTests | ( | ) |
Returns a list of tests to add to the existing list.
Implements Twig_ExtensionInterface.
getTimezone | ( | ) |
getTokenParsers | ( | ) |
Returns the token parser instance to add to the existing list.
Implements Twig_ExtensionInterface.
parseNotTestExpression | ( | Twig_Parser | $parser, |
$node | |||
) |
parseTestExpression | ( | Twig_Parser | $parser, |
$node | |||
) |
setDateFormat | ( | $format = null , |
|
$dateIntervalFormat = null |
|||
) |
setNumberFormat | ( | $decimal, | |
$decimalPoint, | |||
$thousandSep | |||
) |
Sets the default format to be used by the number_format filter.
integer | $decimal | The number of decimal places to use. |
string | $decimalPoint | The character(s) to use for the decimal point. |
string | $thousandSep | The character(s) to use for the thousands separator. |
setTimezone | ( | $timezone | ) |
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:44 - is a product of SAS. All rights reserved.