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)

Parameters

Page $c

setUser(User $u)

Parameters

User $u

setRequest(Request $request)

Parameters

Request $request

Request getRequest()

Return Value

Request

getPageObject()

getUserObject()

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)

Parameters

int $displayOrder

setNewDisplayOrder(int $displayOrder)

Parameters

int $displayOrder