![]() |
CMS
Version 3.9
|
Panel provides a reloadable panel tied to an action handler. More...
Public Member Functions | |
__construct ($id, $handler, $attrs="") | |
Creates a new panel. More... | |
getID () | |
Returns the DOM ID for the panel. More... | |
draw () | |
Draws the panel. More... | |
Public Attributes | |
$id | |
$handler | |
$attrs | |
$preRender = true | |
Panel provides a reloadable panel tied to an action handler.
A reload() method is automatically attached to the panel's DOM and can be called from Javascript to refresh the panel contents via an asynchronous request (i.e. without refreshing the page). Additionally the panel is filled by default using the ComponentManager's local action dispatch mechanism. Panels can be used to easily provide updatable content areas without having to re-implement too much plumbing.
Panel::__construct | ( | $id, | |
$handler, | |||
$attrs = "" |
|||
) |
Panel::draw | ( | ) |
Draws the panel.
Definition at line 82 of file panel.inc.
Panel::getID | ( | ) |