PHP Класс Crud\Listener\ApiPaginationListener

Licensed under The MIT License For full copyright and license information, please see the LICENSE.txt
Наследование: extends BaseListener
Показать файл Открыть проект

Открытые методы

Метод Описание
beforeRender ( Cake\Event\Event $event ) : void Appends the pagination information to the JSON or XML output
implementedEvents ( ) : array | null Returns a list of all events that will fire in the controller during its life-cycle.

Описание методов

beforeRender() публичный Метод

Appends the pagination information to the JSON or XML output
public beforeRender ( Cake\Event\Event $event ) : void
$event Cake\Event\Event Event
Результат void

implementedEvents() публичный Метод

You can override this function to add you own listener callbacks We attach at priority 10 so normal bound events can run before us
public implementedEvents ( ) : array | null
Результат array | null