Form_Field_Select_Multiple __construct(
string
$name, [integer
$value = NULL], [boolean
$required = false]
)
|
|
Enter description here...
Parameters:
|
string |
$name: |
Name of the field |
|
integer |
$value: |
Array containing option values to be selected |
|
boolean |
$required: |
Is field required. Default is false |
Redefinition of:
- Form_Field_Select::__construct()
- Constructor
void capture_submit(
unknown_type
$form_name,
&$submit_array, unknown_type
$submit_array
)
|
|
Captures submit
Parameters:
|
unknown_type |
$form_name: |
|
|
unknown_type |
$submit_array: |
|
|
|
&$submit_array: |
|
API Tags:
Redefinition of:
- Form_Field::capture_submit()
- Captures submit
void deselect_all_options(
)
|
|
Deselects all options
API Tags:
| Internal: | |
| Access: | private |
void deselect_option(
unknown_type
$value
)
|
|
Marks options as not selected
Parameters:
|
unknown_type |
$value: |
Value of the option |
API Tags:
Information Tags:
| Throws: | TE_Select_Multiple_Option_Not_Exists |
integer find_option_by_html_value(
integer
$html_value
)
|
|
Returns option value for option with html_value = $html_value
Parameters:
API Tags:
void select_option(
integer
$value
)
|
|
Marks option as selected
Parameters:
|
integer |
$value: |
Value of the option |
API Tags:
Information Tags:
| Throws: | TE_Select_Multiple_Option_Not_Exists |
void set_value(
array
$value
)
|
|
Sets which options are selected
Parameters:
|
array |
$value: |
Array that contains values of options to be selected |
API Tags:
Information Tags:
| Throws: | TE_Select_Multiple_Value_Not_An_Array |
Redefinition of:
- Form_Field_Select::set_value()
- Sets current value