PHP Class WellCommerce\Bundle\LocaleBundle\Twig\Extension\LocaleExtension

Author: Adam Piotrowski ([email protected])
Inheritance: extends Twig_Extension, implements Twig_Extension_GlobalsInterface
ファイルを表示 Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$dataset WellCommerce\Component\DataSet\DataSetInterface

Public Methods

Method Description
__construct ( WellCommerce\Component\DataSet\DataSetInterface $dataset ) LocaleExtension constructor.
getFunctions ( )
getLocales ( ) : array
getName ( )

Method Details

__construct() public method

LocaleExtension constructor.
public __construct ( WellCommerce\Component\DataSet\DataSetInterface $dataset )
$dataset WellCommerce\Component\DataSet\DataSetInterface

getFunctions() public method

public getFunctions ( )

getLocales() public method

public getLocales ( ) : array
return array

getName() public method

public getName ( )

Property Details

$dataset protected_oe property

protected DataSetInterface,WellCommerce\Component\DataSet $dataset
return WellCommerce\Component\DataSet\DataSetInterface