PHP Class Elcodi\Store\ProductBundle\EventListener\CategoriesOrderChangeEventListener

Afficher le fichier Open project: elcodi/bamboo

Méthodes publiques

Méthode Description
__construct ( StoreCategoryTree $storeCategoryTree ) Event listener responsible of listening the categories order change event and update store category tree
onChange ( ) This method is called every time that some property that could affect the categories tree is changed and it reloads the full tree.

Method Details

__construct() public méthode

Event listener responsible of listening the categories order change event and update store category tree
public __construct ( StoreCategoryTree $storeCategoryTree )
$storeCategoryTree Elcodi\Store\ProductBundle\Services\StoreCategoryTree A store category tree

onChange() public méthode

This method is called every time that some property that could affect the categories tree is changed and it reloads the full tree.
public onChange ( )