class EccubeExtension extends Twig_Extension

Methods

__construct(Application $app)

No description

array
getFunctions()

Returns a list of functions to add to the existing list.

array
getFilters()

Returns a list of filters.

string
getName()

Name of this extension

string
getNoImageProduct($image)

return No Image filename

string
getCalcIncTax($price, $tax_rate, $tax_rule)

Name of this extension

string
getDateFormatFilter($date, $value = '', $format = 'Y/m/d')

Name of this extension

string
getPriceFilter($number, $decimals, $decPoint = '.', $thousandsSep = ',')

Name of this extension

getActiveMenus($menus = array())

No description

Details

at line 33
__construct(Application $app)

Parameters

Application $app

at line 43
array getFunctions()

Returns a list of functions to add to the existing list.

Return Value

array An array of functions

at line 56
array getFilters()

Returns a list of filters.

Return Value

array

at line 70
string getName()

Name of this extension

Return Value

string

at line 80
string getNoImageProduct($image)

return No Image filename

Parameters

$image

Return Value

string

at line 91
string getCalcIncTax($price, $tax_rate, $tax_rule)

Name of this extension

Parameters

$price
$tax_rate
$tax_rule

Return Value

string

at line 102
string getDateFormatFilter($date, $value = '', $format = 'Y/m/d')

Name of this extension

Parameters

$date
$value
$format

Return Value

string

at line 116
string getPriceFilter($number, $decimals, $decPoint = '.', $thousandsSep = ',')

Name of this extension

Parameters

$number
$decimals
$decPoint
$thousandsSep

Return Value

string

at line 124
getActiveMenus($menus = array())

Parameters

$menus