1 | <?php |
||
15 | class UIListOption extends \Asymptix\ui\UIComponent { |
||
16 | /** |
||
17 | * Default drop-down list HTML template. |
||
18 | */ |
||
19 | const DEFAULT_TEMPLATE = "core/ui/templates/components/ui_listoption.tpl.php"; |
||
20 | |||
21 | /** |
||
22 | * Specifies that the option should be disabled when it first loads |
||
23 | * (empty or 'disabled', optional). |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | public $disabled = ""; |
||
28 | |||
29 | /** |
||
30 | * Defines a label to use when using <optgroup>. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | public $label = ""; |
||
35 | |||
36 | /** |
||
37 | * Defines the value of the option to be sent to the server. |
||
38 | * |
||
39 | * @var string,integer |
||
40 | */ |
||
41 | protected $value = ""; |
||
42 | |||
43 | /** |
||
44 | * Generate HTML of the list <option> element. |
||
45 | * |
||
46 | * @param string,integer $optionValue Value of the option. |
||
|
|||
47 | * @param mixed $option Option object, pair array or single title value. |
||
48 | * @param string,integer $currentValue Current selected list option value (optional). |
||
49 | * @param string $template HTML template of this component (optional). |
||
50 | */ |
||
51 | public function __construct($optionValue, $option, $currentValue, $template = "") { |
||
84 | } |
||
85 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.