Class \Prado\Web\UI\JuiControls\TJuiControlOptions
TJuiControlOptions interface
TJuiControlOptions is an helper class that can collect a list of options for a control. The control must implement IJuiOptions. The options are validated againg an array of valid options provided by the control itself. Since component properties are case insensitive, the array of valid options is used to ensure the option name has the correct case. The options array can then get retrieved using ToArray and applied to the jQuery-ui widget. In addition to the options, this class will render the needed javascript to raise a callback for any event for which an handler is defined in the control.
Class hierarchy
Author: Fabio Bas <ctrlaltca@gmail.com>Since: 3.3
public
|
|
public
|
__get(string $name) : mixed
Gets an option named value. Options are used to store and retrive
named values for the base active controls.
|
public
|
__set(string $name, mixed $value) : mixed
Sets a named options with a value. Options are used to store and retrive
named values for the javascript control.
|
public
|
|
public
|
raiseCallbackEvent(mixed $param) : mixed
Raise the specific callback event handler of the target control.
|
public
|
|
public
|
|