ILIAS
Release_4_1_x_branch Revision 61804
|
This class represents a checkbox property in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setValue ($a_value) | |
Set Value. | |
getValue () | |
Get Value. | |
setChecked ($a_checked) | |
Set Checked. | |
getChecked () | |
Get Checked. | |
setOptionTitle ($a_optiontitle) | |
Set Option Title (optional). | |
getOptionTitle () | |
Get Option Title (optional). | |
setValueByArray ($a_values) | |
Set value by array. | |
setAdditionalAttributes ($a_attrs) | |
Set addiotional attributes. | |
getAdditionalAttributes () | |
get addtional attributes | |
checkInput () | |
Check input, strip slashes etc. | |
hideSubForm () | |
Sub form hidden on init? | |
render ($a_mode= '') | |
Render item. | |
insert (&$a_tpl) | |
Insert property html. | |
getTableFilterHTML () | |
Get HTML for table filter. | |
serializeData () | |
serialize data | |
unserializeData ($a_data) | |
unserialize data | |
getToolbarHTML () | |
Get HTML for toolbar. | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
addSubItem ($a_item) | |
Add Subitem. | |
getSubItems () | |
Get Subitems. | |
checkSubItemsInput () | |
Check SubItems. | |
getSubForm () | |
Get sub form html. | |
getItemByPostVar ($a_post_var) | |
Get item by post var. | |
Public Member Functions inherited from ilFormPropertyGUI | |
& | executeCommand () |
Execute command. | |
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. | |
setParentForm ($a_parentform) | |
Set Parent Form. | |
getParentForm () | |
Get Parent Form. | |
setParent ($a_val) | |
Set Parent GUI object. | |
getParent () | |
Get Parent GUI object. | |
setHiddenTitle ($a_val) | |
Set hidden title (for screenreaders) | |
getHiddenTitle () | |
Get hidden title. | |
writeToSession () | |
Write to session. | |
clearFromSession () | |
Clear session value. | |
readFromSession () | |
Read from session. | |
getHiddenTag ($a_post_var, $a_value) | |
Get hidden tag (used for disabled properties) |
Protected Attributes | |
$value = "1" | |
$checked | |
$optiontitle = "" | |
$additional_attributes = '' | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
$sub_items = array() | |
Protected Attributes inherited from ilFormPropertyGUI | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false | |
$parentgui | |
$parentform | |
$hidden_title = "" |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. |
This class represents a checkbox property in a property form.
Definition at line 33 of file class.ilCheckboxInputGUI.php.
ilCheckboxInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 46 of file class.ilCheckboxInputGUI.php.
References ilFormPropertyGUI\setType().
ilCheckboxInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 150 of file class.ilCheckboxInputGUI.php.
References $_POST, $lng, $ok, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), and ilUtil\stripSlashes().
ilCheckboxInputGUI::getAdditionalAttributes | ( | ) |
get addtional attributes
Definition at line 140 of file class.ilCheckboxInputGUI.php.
References $additional_attributes.
Referenced by render().
ilCheckboxInputGUI::getChecked | ( | ) |
Get Checked.
Definition at line 87 of file class.ilCheckboxInputGUI.php.
References $checked.
Referenced by hideSubForm(), render(), and serializeData().
ilCheckboxInputGUI::getOptionTitle | ( | ) |
Get Option Title (optional).
Definition at line 107 of file class.ilCheckboxInputGUI.php.
References $optiontitle.
Referenced by render().
ilCheckboxInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Definition at line 231 of file class.ilCheckboxInputGUI.php.
References render().
ilCheckboxInputGUI::getToolbarHTML | ( | ) |
Get HTML for toolbar.
Implements ilToolbarItem.
Definition at line 262 of file class.ilCheckboxInputGUI.php.
References render().
ilCheckboxInputGUI::getValue | ( | ) |
Get Value.
Definition at line 67 of file class.ilCheckboxInputGUI.php.
References $value.
Referenced by render().
ilCheckboxInputGUI::hideSubForm | ( | ) |
Sub form hidden on init?
Reimplemented from ilFormPropertyGUI.
Definition at line 172 of file class.ilCheckboxInputGUI.php.
References getChecked().
ilCheckboxInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 219 of file class.ilCheckboxInputGUI.php.
References render().
ilCheckboxInputGUI::render | ( | $a_mode = '' | ) |
Render item.
Definition at line 180 of file class.ilCheckboxInputGUI.php.
References $tpl, getAdditionalAttributes(), getChecked(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getOptionTitle(), ilFormPropertyGUI\getPostVar(), and getValue().
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
ilCheckboxInputGUI::serializeData | ( | ) |
serialize data
Reimplemented from ilFormPropertyGUI.
Definition at line 240 of file class.ilCheckboxInputGUI.php.
References getChecked().
ilCheckboxInputGUI::setAdditionalAttributes | ( | $a_attrs | ) |
Set addiotional attributes.
string | $a_attrs | addition attribute string |
Definition at line 131 of file class.ilCheckboxInputGUI.php.
ilCheckboxInputGUI::setChecked | ( | $a_checked | ) |
Set Checked.
boolean | $a_checked | Checked |
Definition at line 77 of file class.ilCheckboxInputGUI.php.
Referenced by ilPaymentObjectGUI\addPrice(), ilObjPaymentSettingsGUI\addPriceObject(), ilObjSystemFolderGUI\benchmarkObject(), ilObjAssessmentFolderGUI\defaultsObject(), ilObjExternalToolsSettingsGUI\editGoogleMapsObject(), ilObjExternalToolsSettingsGUI\editjsMathObject(), ilObjPaymentSettingsGUI\epaySettingsObject(), ilObjPaymentSettingsGUI\generalSettingsObject(), ilObjPaymentSettingsGUI\getERPform(), ilAdvancedMDSettingsGUI\initFieldForm(), ilCalendarRecurrenceGUI\initForm(), ilAdvancedMDSettingsGUI\initForm(), ilObjUserGUI\initForm(), ilObjCourseGUI\initForm(), ilObjSessionGUI\initForm(), ilObjGroupGUI\initForm(), ilObjLinkResourceGUI\initFormLink(), ilObjSearchSettingsGUI\initFormSettings(), ilPersonalProfileGUI\initGeneralSettingsForm(), ilPersonalProfileGUI\initPublicProfileForm(), ilECSSettingsGUI\initSettingsForm(), ilObjMDSettingsGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilMailFormGUI\searchUsers(), ilRadiusSettingsGUI\settings(), ilOpenIdSettingsGUI\settings(), ilObjUserTrackingGUI\settingsObject(), ilObjSurveyAdministrationGUI\settingsObject(), setValueByArray(), ilPersonalProfileGUI\showjsMath(), ilMailSearchGUI\showResults(), ilObjPrivacySecurityGUI\showSecurity(), and unserializeData().
ilCheckboxInputGUI::setOptionTitle | ( | $a_optiontitle | ) |
Set Option Title (optional).
string | $a_optiontitle | Option Title (optional) |
Definition at line 97 of file class.ilCheckboxInputGUI.php.
Referenced by ilObjSessionGUI\initAttendanceForm(), ilObjChatServerGUI\initForm(), ilLDAPSettingsGUI\initForm(), ilObjGroupGUI\initForm(), ilObjSearchSettingsGUI\initFormLuceneSettings(), ilPersonalProfileGUI\initPublicProfileForm(), ilObjFileBasedLMGUI\initSettingsForm(), ilObjSurveyGUI\propertiesObject(), ilObjTestGUI\propertiesObject(), ilMailFormGUI\showForm(), and ilObjPrivacySecurityGUI\showSecurity().
ilCheckboxInputGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 57 of file class.ilCheckboxInputGUI.php.
Referenced by ilSocialBookmarks\_initForm(), ilObjFileAccessSettingsGUI\editDiskQuotaSettings(), ilObjFileAccessSettingsGUI\editDownloadingSettings(), ilObjGroupGUI\editMapSettingsObject(), ilObjCourseGUI\editMapSettingsObject(), ilObjForumGUI\editObject(), SurveyTextQuestionGUI\editQuestion(), SurveyMetricQuestionGUI\editQuestion(), SurveySingleChoiceQuestionGUI\editQuestion(), SurveyMultipleChoiceQuestionGUI\editQuestion(), SurveyMatrixQuestionGUI\editQuestion(), assMultipleChoiceGUI\editQuestion(), assSingleChoiceGUI\editQuestion(), assClozeTestGUI\editQuestion(), ilObjNewsSettingsGUI\editSettings(), ilObjPersonalDesktopSettingsGUI\editSettings(), ilObjFileAccessSettingsGUI\editWebDAVSettings(), ilObjSystemFolderGUI\initBasicSettingsForm(), ilObjSystemFolderGUI\initCronJobsForm(), ilObjectCustomUserFieldsGUI\initFieldForm(), ilObjMailGUI\initForm(), ilRegistrationSettingsGUI\initForm(), ilLDAPSettingsGUI\initForm(), ilObjUserGUI\initForm(), ilObjCourseGUI\initForm(), ilObjGroupGUI\initForm(), ilObjUserFolderGUI\initFormGeneralSettings(), ilObjLinkResourceGUI\initFormLink(), ilObjSearchSettingsGUI\initFormLuceneSettings(), ilObjRoleGUI\initFormRoleProperties(), ilLuceneSearchGUI\initFormSearch(), ilObjTaggingSettingsGUI\initFormSettings(), ilObjCalendarSettingsGUI\initFormSettings(), ilAdvancedMDSettingsGUI\initFormSubstitutions(), ilObjForumGUI\initForumCreateForm(), ilObjUserFolderGUI\initLoginSettingsForm(), ilObjForumGUI\initNotificationSettingsForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjSAHSLearningModuleGUI\initUploadForm(), ilObjContentObjectGUI\linkChecker(), ilObjLinkResourceGUI\linkCheckerObject(), ilAdvancedMDRecordGUI\parseSearch(), ilObjSurveyGUI\propertiesObject(), ilObjTestGUI\propertiesObject(), ilObjTestGUI\randomQuestionsObject(), ilPersonalProfileGUI\showLocation(), and unserializeData().
ilCheckboxInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
object | $a_item | Item |
Definition at line 117 of file class.ilCheckboxInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubItems(), and setChecked().
ilCheckboxInputGUI::unserializeData | ( | $a_data | ) |
unserialize data
Reimplemented from ilFormPropertyGUI.
Definition at line 248 of file class.ilCheckboxInputGUI.php.
References $data, setChecked(), and setValue().
|
protected |
Definition at line 38 of file class.ilCheckboxInputGUI.php.
Referenced by getAdditionalAttributes().
|
protected |
Definition at line 36 of file class.ilCheckboxInputGUI.php.
Referenced by getChecked().
|
protected |
Definition at line 37 of file class.ilCheckboxInputGUI.php.
Referenced by getOptionTitle().
|
protected |
Definition at line 35 of file class.ilCheckboxInputGUI.php.
Referenced by getValue().