PHP Class WellCommerce\Bundle\CategoryBundle\Twig\Extension\CategoryExtension

Author: Adam Piotrowski ([email protected])
Inheritance: extends Twig_Extension
Afficher le fichier Open project: wellcommerce/wellcommerce

Protected Properties

Свойство Type Description
$dataset WellCommerce\Component\DataSet\DataSetInterface

Méthodes publiques

Méthode Description
__construct ( WellCommerce\Component\DataSet\DataSetInterface $dataset ) Constructor
getCategoriesTree ( integer $limit = 1000, string $orderBy = 'hierarchy', string $orderDir = 'asc' ) : array Returns categories tree
getFunctions ( )
getName ( )

Method Details

__construct() public méthode

Constructor
public __construct ( WellCommerce\Component\DataSet\DataSetInterface $dataset )
$dataset WellCommerce\Component\DataSet\DataSetInterface

getCategoriesTree() public méthode

Returns categories tree
public getCategoriesTree ( integer $limit = 1000, string $orderBy = 'hierarchy', string $orderDir = 'asc' ) : array
$limit integer
$orderBy string
$orderDir string
Résultat array

getFunctions() public méthode

public getFunctions ( )

getName() public méthode

public getName ( )

Property Details

$dataset protected_oe property

protected DataSetInterface,WellCommerce\Component\DataSet $dataset
Résultat WellCommerce\Component\DataSet\DataSetInterface