Class: atkDGEvent
Source Location: /datagrid/class.atkdgevent.inc
Class atkDGEvent
Constant Summary
| POST_LOAD |
Event will be triggered at the end of the call to atkDataGrid::loadRecords, after the records are loaded. |
| POST_RENDER |
Event will be triggered at the end of the call to atkDataGrid::render, after all component and the grid itself have been rendered. |
| PRE_LOAD |
Event will be triggered at the start of the call to atkDataGrid::loadRecords, before the records are loaded. |
| PRE_RENDER |
Event will be triggered at the start of the call to atkDataGrid::render, before the grid or any of it's components have been rendered. |
Method Summary
| string |
getEvent() |
Returns the event identifier. |
Properties
Event identifier.
API Tags:
Methods
atkDGEvent __construct(
atkDataGrid
$grid, string
$event
)
|
|
Constructs a new event
Parameters:
|
atkDataGrid |
$grid: |
grid |
|
string |
$event: |
event identifier |
API Tags:
Returns the event identifier.
API Tags:
| Return: | event |
| Access: | public |
Returns the grid for this event.
API Tags:
| Return: | grid |
| Access: | public |
Constants
Event will be triggered at the end of the call to atkDataGrid::loadRecords, after the records are loaded.
Event will be triggered at the end of the call to atkDataGrid::render, after all component and the grid itself have been rendered.
Event will be triggered at the start of the call to atkDataGrid::loadRecords, before the records are loaded.
Event will be triggered at the start of the call to atkDataGrid::render, before the grid or any of it's components have been rendered.