class PreLoadEventArgs extends LifecycleEventArgs (View source)

Class that holds event arguments for a preLoad event.

Methods

object
getDocument()

Retrieves the associated document.

getDocumentManager()

Retrieves the associated DocumentManager.

__construct($document, DocumentManager $dm, array $data)

No description

array
getData()

Get the array of data to be loaded and hydrated.

Details

object getDocument()

Retrieves the associated document.

Return Value

object

DocumentManager getDocumentManager()

Retrieves the associated DocumentManager.

Return Value

DocumentManager

__construct($document, DocumentManager $dm, array $data)

Parameters

$document
DocumentManager $dm
array $data

array getData()

Get the array of data to be loaded and hydrated.

Return Value

array