|
| | __construct ($title=null) |
| |
| | addCheckbox ($label, $state, $toggle_url, $toggle_url_off=null, array $attributes=[]) |
| |
| | addRadioButton ($label, $url, $checked=false) |
| |
| | addSelect ($label, $url, $name, $options, $selected_option=false, $attributes=[]) |
| |
| | __construct () |
| |
| | addCSSClass ($css_class) |
| |
| | removeCSSClass ($css_class) |
| |
| | render ($variables=[]) |
| |
| | addElement (WidgetElement $element, $index=null) |
| |
| | insertElement (WidgetElement $element, $before_index, $index=null) |
| |
| | getElement ($index) |
| |
| | getElements () |
| |
| | removeElement ($index) |
| |
| | hasElements () |
| |
| | hasElement ($index) |
| |
| | forceRendering ($state=true) |
| |
| | addLayoutCSSClass ($css_class) |
| |
| | removeLayoutCSSClass ($css_class) |
| |
| | render ($variables=[]) |
| |
| | __isset ($offset) |
| |
| | __get ($offset) |
| |
| | __set ($offset, $value) |
| |
| | __unset ($offset) |
| |
◆ __construct()
| __construct |
( |
|
$title = null | ) |
|
- Parameters
-
| String | $title | Optional alternative title |
◆ addCheckbox()
| addCheckbox |
( |
|
$label, |
|
|
|
$state, |
|
|
|
$toggle_url, |
|
|
|
$toggle_url_off = null, |
|
|
array |
$attributes = [] |
|
) |
| |
- Parameters
-
| String | $label | |
| bool | $state | |
| String | $toggle_url | Url to execute the action |
| String | $toggle_url_off | Optional alternative url to explicitely turn off the checkbox ($toggle_url will then act as $toggle_url_on) |
| Array | $attributes | Optional additional attributes for the anchor |
◆ addRadioButton()
| addRadioButton |
( |
|
$label, |
|
|
|
$url, |
|
|
|
$checked = false |
|
) |
| |
- Parameters
-
| String | $label | |
| String | $url | |
| bool | $checked | |
◆ addSelect()
| addSelect |
( |
|
$label, |
|
|
|
$url, |
|
|
|
$name, |
|
|
|
$options, |
|
|
|
$selected_option = false, |
|
|
|
$attributes = [] |
|
) |
| |
Adds a select element to the widget.
- Parameters
-
| String | $label | |
| String | $url | |
| String | $name | Attribute name |
| array | $options | Array of associative options (value => label) |
| mixed | $selected_option | Currently selected option |
| array | $attributes | Additional attributes |
◆ INDEX
The documentation for this class was generated from the following file: