PHP Class Knp\Component\Pager\Event\Subscriber\Sortable\ArraySubscriber

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Datei anzeigen Open project: knplabs/knp-components

Public Methods

Method Description
getSubscribedEvents ( )
items ( Knp\Component\Pager\Event\ItemsEvent $event )

Private Methods

Method Description
sortAsc ( $object1, $object2 )
sortDesc ( $object1, $object2 )

Method Details

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

items() public method

public items ( Knp\Component\Pager\Event\ItemsEvent $event )
$event Knp\Component\Pager\Event\ItemsEvent