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
getImageInfo($path)

Name of this extension

string
getNoImageProduct($image)

return No Image filename

string
getNoImageMainList($image)

Name of this extension

string
getNoImageMain($image)

Name of this extension

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 57
array getFilters()

Returns a list of filters.

Return Value

array

at line 73
string getName()

Name of this extension

Return Value

string

at line 83
string getImageInfo($path)

Name of this extension

Parameters

$path

Return Value

string

at line 118
string getNoImageProduct($image)

return No Image filename

Parameters

$image

Return Value

string

at line 128
string getNoImageMainList($image)

Name of this extension

Parameters

$image

Return Value

string

at line 138
string getNoImageMain($image)

Name of this extension

Parameters

$image

Return Value

string

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

Name of this extension

Parameters

$price
$tax_rate
$tax_rule

Return Value

string

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

Name of this extension

Parameters

$date
$value
$format

Return Value

string

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

Name of this extension

Parameters

$number
$decimals
$decPoint
$thousandsSep

Return Value

string

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

Parameters

$menus