PHP Class Elcodi\Admin\ProductBundle\EventListener\NewCategoryPositionEventListener

Show file Open project: elcodi/bamboo

Public Methods

Method Description
preFlush ( Doctrine\ORM\Event\PreFlushEventArgs $args ) Before the flush we check if we are inserting new categories and in this case we set a correct position.

Method Details

preFlush() public method

Before the flush we check if we are inserting new categories and in this case we set a correct position.
public preFlush ( Doctrine\ORM\Event\PreFlushEventArgs $args )
$args Doctrine\ORM\Event\PreFlushEventArgs The pre flush event arguments.