ILIAS
Release_3_10_x_branch Revision 61812
|
This class represents a selection list property in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setOptions ($a_options) | |
Set Options. | |
getOptions () | |
Get Options. | |
setValue ($a_value) | |
Set Value. | |
getValue () | |
Get Value. | |
setValueByArray ($a_values) | |
Set value by array. | |
checkInput () | |
Check input, strip slashes etc. | |
insert (&$a_tpl) | |
Insert property html. | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
addSubItem ($a_item) | |
Add Subitem. | |
getSubItems () | |
Get Subitems. | |
setSubformMode ($a_subformmode) | |
Set Subform Mode. | |
getSubformMode () | |
Get Subform Mode. | |
checkSubItemsInput () | |
Check SubItems. | |
getSubForm () | |
Get sub form html. | |
Public Member Functions inherited from ilFormPropertyGUI | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setAlert ($a_alert) | |
Set Alert Text. | |
getAlert () | |
Get Alert Text. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required. | |
setDisabled ($a_disabled) | |
Set Disabled. | |
getDisabled () | |
Get Disabled. |
Protected Attributes | |
$options | |
$value | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
$sub_items = array() | |
$subformmode = "bottom" | |
Protected Attributes inherited from ilFormPropertyGUI | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. |
This class represents a selection list property in a property form.
Definition at line 31 of file class.ilSelectInputGUI.php.
ilSelectInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 42 of file class.ilSelectInputGUI.php.
References ilFormPropertyGUI\setType().
ilSelectInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 103 of file class.ilSelectInputGUI.php.
References $lng, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
ilSelectInputGUI::getOptions | ( | ) |
Get Options.
Definition at line 63 of file class.ilSelectInputGUI.php.
References $options.
Referenced by insert().
ilSelectInputGUI::getValue | ( | ) |
Get Value.
Definition at line 83 of file class.ilSelectInputGUI.php.
References $value.
Referenced by insert().
ilSelectInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 123 of file class.ilSelectInputGUI.php.
References ilFormPropertyGUI\getDisabled(), getOptions(), ilFormPropertyGUI\getPostVar(), and getValue().
ilSelectInputGUI::setOptions | ( | $a_options | ) |
Set Options.
array | $a_options | Options. Array ("value" => "option_text") |
Definition at line 53 of file class.ilSelectInputGUI.php.
Referenced by ilPCTableGUI\edit(), ilPaymentObjectGUI\editDetails(), ilObjNewsSettingsGUI\editSettings(), ilPDNewsBlockGUI\editSettings(), ilAdvancedSearchGUI\initAdvancedMetaDataForm(), ilObjChatServerGUI\initForm(), ilPCMapGUI\initForm(), ilObjUserGUI\initForm(), ilObjCalendarSettingsGUI\initFormSettings(), ilCalendarUserSettingsGUI\initSettingsForm(), ilECSSettingsGUI\initSettingsForm(), ilPCDataTableGUI\insert(), ilPCTableGUI\insert(), ilRadiusSettingsGUI\settings(), ilMailingListsGUI\showAssignmentForm(), and ilPaymentObjectGUI\showSelectedObject().
ilSelectInputGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 73 of file class.ilSelectInputGUI.php.
Referenced by ilPCTabsGUI\edit(), ilObjPaymentSettingsGUI\generalSettingsObject(), ilCalendarAppointmentGUI\initForm(), ilPersonalProfileGUI\initForm(), ilLDAPSettingsGUI\initFormRoleAssignments(), ilObjAuthSettingsGUI\loginInfoObject(), ilAdvancedMDRecordGUI\parseSearch(), and setValueByArray().
ilSelectInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 93 of file class.ilSelectInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
|
protected |
Definition at line 33 of file class.ilSelectInputGUI.php.
Referenced by getOptions().
|
protected |
Definition at line 34 of file class.ilSelectInputGUI.php.
Referenced by getValue().