Since: 8.5.0

class DisplayOrderUpdateEvent extends Event (View source)

Properties

protected $page from  Event
protected $user from  Event
protected $request from  Event

Methods

__construct(Page $c)

No description

from  Event
setUser(User $u)

No description

from  Event
setRequest(Request $request)

No description

from  Event
Request
getRequest()

No description

from  Event
getPageObject()

No description

from  Event
getUserObject()

No description

from  Event
int
getOldDisplayOrder()

Get the old display order

int
getNewDisplayOrder()

Get the new display order

setOldDisplayOrder(int $displayOrder)

No description

setNewDisplayOrder(int $displayOrder)

No description

Details

__construct(Page $c)

No description

Parameters

Page $c

setUser(User $u)

No description

Parameters

User $u

setRequest(Request $request)

No description

Parameters

Request $request

Request getRequest()

No description

Return Value

Request

getPageObject()

No description

getUserObject()

No description

int getOldDisplayOrder()

Get the old display order

This is the order before the page was moved.

Return Value

int

int getNewDisplayOrder()

Get the new display order

This is the order after the page was moved.

Return Value

int

setOldDisplayOrder(int $displayOrder)

No description

Parameters

int $displayOrder

setNewDisplayOrder(int $displayOrder)

No description

Parameters

int $displayOrder