This class is designed to ease the management of a group of controls.
Definition at line 1669 of file controls.php.
Public Member Functions | |
ControlContainer () | |
& | get ($id) |
Get a control. | |
& | getByValue ($value) |
Get a control that has a certain value. | |
add (&$control) | |
Add a control. | |
exists ($id) | |
Check whether a control exists. | |
count () | |
Get the number of controls in the container. | |
& | remove ($id) |
Remove and return a control. | |
getAllIds () | |
Get all control IDs. | |
getAllControls () | |
Get all controls. | |
getDisplayableIds () | |
Get the IDs of controls which can be displayed. | |
getDisplayableControls () | |
Get the controls which can be displayed. | |
childDisplay ($id) | |
Check whether a contained control can be displayed. | |
childToString ($id) | |
Get a string representation of a contained control. | |
childUpdated ($id) | |
Check whether a contained control has been updated. | |
triggerChildActions () | |
Trigger all actions of the contained controls. | |
getTriggerOrder () | |
Get the order in which controls are to be triggered. | |
setTriggerOrder ($order) | |
Set the order in which controls are to be triggered. | |
__sleep () | |
Public Attributes | |
$controls | |
the list of controls | |
$trigger_order | |
The order in which controls will be triggered. |
|
Definition at line 1676 of file controls.php. |
|
Reimplemented in ControlChoice. Definition at line 1932 of file controls.php. |
|
Add a control.
Reimplemented in ControlChoice. Definition at line 1724 of file controls.php. |
|
Check whether a contained control can be displayed.
Definition at line 1850 of file controls.php. |
|
Get a string representation of a contained control.
Definition at line 1861 of file controls.php. |
|
Check whether a contained control has been updated.
Definition at line 1872 of file controls.php. |
|
Get the number of controls in the container.
Definition at line 1752 of file controls.php. |
|
Check whether a control exists.
Definition at line 1743 of file controls.php. |
|
Get a control.
Definition at line 1691 of file controls.php. |
|
Get all controls.
Definition at line 1798 of file controls.php. References $controls. |
|
Get all control IDs.
Definition at line 1789 of file controls.php. |
|
Get a control that has a certain value. If a control has the specified value, it is returned. Only the first such matching control is returned.
Definition at line 1705 of file controls.php. |
|
Get the controls which can be displayed.
Definition at line 1831 of file controls.php. |
|
Get the IDs of controls which can be displayed.
Definition at line 1814 of file controls.php. |
|
Get the order in which controls are to be triggered.
Definition at line 1897 of file controls.php. |
|
Remove and return a control.
Definition at line 1762 of file controls.php. |
|
Set the order in which controls are to be triggered.
Definition at line 1907 of file controls.php. |
|
Trigger all actions of the contained controls.
Definition at line 1884 of file controls.php. |
|
the list of controls
Definition at line 1672 of file controls.php. Referenced by getAllControls(). |
|
The order in which controls will be triggered.
Definition at line 1674 of file controls.php. |