| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
This class represents a selection list property in a property form. More...
 Inheritance diagram for ilSelectInputGUI:
 Collaboration diagram for ilSelectInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| setOptions (array $a_options) | |
| getOptions () | |
| setOptionsLangAttribute (\Closure $langresolve) | |
| getOptionsLangAttribute ($key) | |
| setValue ($a_value) | |
| Set Value.  More... | |
| getValue () | |
| Get Value.  More... | |
| setValueByArray (array $a_values) | |
| checkInput () | |
| getInput () | |
| addCustomAttribute (string $a_attr) | |
| getCustomAttributes () | |
| render ($a_mode="") | |
| insert (ilTemplate $a_tpl) | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters.  More... | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI.  More... | |
| setHideSubForm (bool $a_value, ?string $a_condition=null) | |
| Set initial sub form visibility, optionally add dynamic value-based condition.  More... | |
| hideSubForm () | |
  Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| addSubItem (ilFormPropertyGUI $a_item) | |
| getSubItems () | |
| getSubInputItemsRecursive () | |
| returns a flat array of possibly existing subitems recursively  More... | |
| checkSubItemsInput () | |
| Check SubItems.  More... | |
| getSubForm () | |
| getItemByPostVar (string $a_post_var) | |
  Public Member Functions inherited from ilFormPropertyGUI | |
| __construct (string $a_title="", string $a_postvar="") | |
| executeCommand () | |
| getType () | |
| setTitle (string $a_title) | |
| getTitle () | |
| setPostVar (string $a_postvar) | |
| getPostVar () | |
| getFieldId () | |
| setInfo (string $a_info) | |
| getInfo () | |
| setAlert (string $a_alert) | |
| getAlert () | |
| setRequired (bool $a_required) | |
| getRequired () | |
| setDisabled (bool $a_disabled) | |
| getDisabled () | |
| checkInput () | |
| Check input, strip slashes etc.  More... | |
| setParentForm (ilPropertyFormGUI $a_parentform) | |
| getParentForm () | |
| setParent (ilFormPropertyGUI $a_val) | |
| getParent () | |
| getSubForm () | |
| hideSubForm () | |
| setHiddenTitle (string $a_val) | |
| getHiddenTitle () | |
| getItemByPostVar (string $a_post_var) | |
| Get item by post var.  More... | |
| serializeData () | |
| unserializeData (string $a_data) | |
| setParentTable ($a_val) | |
| Set parent table.  More... | |
| getParentTable () | |
| Get parent table.  More... | |
| writeToSession () | |
| clearFromSession () | |
| readFromSession () | |
| getHiddenTag (string $a_post_var, string $a_value) | |
| setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
| getMulti () | |
| setMultiValues (array $a_values) | |
| getMultiValues () | |
| getContentOutsideFormTag () | |
| Get content that has to reside outside of the parent form tag, e.g.  More... | |
| stripSlashesAddSpaceFallback (string $a_str) | |
| Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727.  More... | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value for filter.  More... | |
| getFormLabelFor () | |
| Get label "for" attribute value for form.  More... | |
| setRequestParam (string $key, $val) | |
| This writes the request (aka post) values.  More... | |
  Public Member Functions inherited from ilTableFilterItem | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value.  More... | |
Protected Attributes | |
| array | $cust_attr = array() | 
| array | $options = array() | 
| Closure | $langresolve = null | 
| $value | |
| bool | $hide_sub = false | 
  Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
| array | $sub_items = array() | 
  Protected Attributes inherited from ilFormPropertyGUI | |
| array | $set_params = [] | 
| ilTable2GUI | $parent_table = null | 
| ilFormPropertyGUI | $parent_gui = null | 
| ilCtrl | $ctrl | 
| ilLanguage | $lng | 
| string | $type = "" | 
| string | $title = "" | 
| string | $postvar = "" | 
| string | $info = "" | 
| string | $alert = "" | 
| bool | $required = false | 
| ilPropertyFormGUI | $parentform = null | 
| string | $hidden_title = "" | 
| bool | $multi = false | 
| bool | $multi_sortable = false | 
| bool | $multi_addremove = true | 
| array | $multi_values = [] | 
| RequestInterface | $request | 
| HTTP Services | $http | 
| Refinery Factory | $refinery = null | 
| bool | $disabled = false | 
| ilGlobalTemplateInterface | $global_tpl = null | 
Additional Inherited Members | |
  Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) | 
| Remove prohibited characters see #19159.  More... | |
  Protected Member Functions inherited from ilFormPropertyGUI | |
| symbol () | |
| setType (string $a_type) | |
| checkParentFormTable () | |
| getSessionKey () | |
| getMultiIconsHTML () | |
| int ($key) | |
| intArray ($key) | |
| str ($key) | |
| raw ($key) | |
| strArray ($key) | |
| arrayArray ($key) | |
| isRequestParamArray (string $key) | |
| getRequestParam (string $key, Refinery\Transformation $t) | |
This class represents a selection list property in a property form.
Definition at line 26 of file class.ilSelectInputGUI.php.
| ilSelectInputGUI::__construct | ( | string | $a_title = "",  | 
        
| string | $a_postvar = ""  | 
        ||
| ) | 
Definition at line 37 of file class.ilSelectInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setType().
 Here is the call graph for this function:| ilSelectInputGUI::addCustomAttribute | ( | string | $a_attr | ) | 
Definition at line 143 of file class.ilSelectInputGUI.php.
Referenced by setHideSubForm().
 Here is the caller graph for this function:| ilSelectInputGUI::checkInput | ( | ) | 
Definition at line 101 of file class.ilSelectInputGUI.php.
References ilFormPropertyGUI\$lng, $valid, $value, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getMulti(), getOptions(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\str(), ilFormPropertyGUI\strArray(), and ilLanguage\txt().
 Here is the call graph for this function:| ilSelectInputGUI::getCustomAttributes | ( | ) | 
Definition at line 148 of file class.ilSelectInputGUI.php.
References $cust_attr.
Referenced by render().
 Here is the caller graph for this function:| ilSelectInputGUI::getInput | ( | ) | 
Definition at line 135 of file class.ilSelectInputGUI.php.
References ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\str(), and ilFormPropertyGUI\strArray().
 Here is the call graph for this function:| ilSelectInputGUI::getOptions | ( | ) | 
Definition at line 53 of file class.ilSelectInputGUI.php.
Referenced by checkInput(), getOptionsLangAttribute(), and render().
 Here is the caller graph for this function:| ilSelectInputGUI::getOptionsLangAttribute | ( | $key | ) | 
Definition at line 63 of file class.ilSelectInputGUI.php.
References getOptions().
 Here is the call graph for this function:| ilSelectInputGUI::getTableFilterHTML | ( | ) | 
Get input item HTML to be inserted into table filters.
Implements ilTableFilterItem.
Definition at line 245 of file class.ilSelectInputGUI.php.
References render().
 Here is the call graph for this function:| ilSelectInputGUI::getToolbarHTML | ( | ) | 
Get input item HTML to be inserted into ilToolbarGUI.
Implements ilToolbarItem.
Definition at line 251 of file class.ilSelectInputGUI.php.
References render().
 Here is the call graph for this function:| ilSelectInputGUI::getValue | ( | ) | 
Get Value.
Definition at line 87 of file class.ilSelectInputGUI.php.
References $value.
Referenced by render().
 Here is the caller graph for this function:| ilSelectInputGUI::hideSubForm | ( | ) | 
Definition at line 273 of file class.ilSelectInputGUI.php.
| ilSelectInputGUI::insert | ( | ilTemplate | $a_tpl | ) | 
Definition at line 238 of file class.ilSelectInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
 Here is the call graph for this function:| ilSelectInputGUI::render | ( | $a_mode = "" | ) | 
Definition at line 153 of file class.ilSelectInputGUI.php.
References Vendor\Package\$f, $langresolve, ilFormPropertyGUI\$postvar, $value, getCustomAttributes(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getHiddenTag(), ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getMultiIconsHTML(), ilFormPropertyGUI\getMultiValues(), getOptions(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\getTitle(), getValue(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSelectInputGUI::setHideSubForm | ( | bool | $a_value, | 
| ?string | $a_condition = null  | 
        ||
| ) | 
Set initial sub form visibility, optionally add dynamic value-based condition.
Definition at line 260 of file class.ilSelectInputGUI.php.
References addCustomAttribute(), and ilFormPropertyGUI\getFieldId().
 Here is the call graph for this function:| ilSelectInputGUI::setOptions | ( | array | $a_options | ) | 
Definition at line 48 of file class.ilSelectInputGUI.php.
Referenced by FormMailCodesGUI\__construct(), ilMemberAgreementGUI\addCustomFields(), ilMMSubItemTableGUI\addFilterItems(), ilPersonalSkillsFilterGUI\addToToolbar(), ilDidacticTemplateGUI\appendToolbarSwitch(), ilPersonalSkillsGUI\assignMaterials(), ilTestSkillEvaluationToolbarGUI\build(), ilDclCopyFieldRepresentation\buildFieldCreationInput(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilSurveyParticipantsGUI\codesObject(), ilSurveyEvaluationGUI\competenceEval(), ilSurveyEditorGUI\copyQuestionsToPoolObject(), ilSessionStatisticsGUI\current(), ilPCLoginPageElementGUI\edit(), ilContentStyleSettingsGUI\edit(), ilPCTableGUI\editCellAlignment(), ilObjWikiGUI\editImportantPagesObject(), ilObjHelpSettingsGUI\editSettings(), ilPDNewsBlockGUI\editSettings(), ilObjAuthSettingsGUI\getApacheAuthSettingsForm(), ilUserStartingPointGUI\getCalenderSubInputs(), ilObjLTIAdministrationGUI\getConsumerForm(), ilUserStartingPointGUI\getCreateFormSpecificInputs(), ilPCMediaObjectEditorGUI\getEditorElements(), ilExerciseManagementGUI\getEvaluationModalForm(), ilObjMailGUI\getExternalSettingsForm(), ilObjMailGUI\getGeneralSettingsForm(), ilSamlSettingsGUI\getIdpSettingsForm(), ilObjExternalToolsSettingsGUI\getMapsForm(), ilMultilingualismGUI\getMultiLangForm(), ilUserProfile\getRolesInput(), ilObjNewsSettingsGUI\getSettingsForm(), ilObjLearningResourcesSettingsGUI\getSettingsForm(), ilImageMapEditorGUI\getToolbar(), ilExAssignmentEditorGUI\getTypeDropdown(), ilLPTableBaseGUI\initBaseFilter(), ilECSSettingsGUI\initCategoryMappingForm(), ilPCDataTableGUI\initCellPropertiesForm(), ilStyleCharacteristicGUI\initCharacteristicForm(), ilContSkillAdminGUI\initCompetenceAssignmentForm(), ilObjCmiXapiGUI\initCreateForm(), ilObjSAHSLearningModuleGUI\initCreateForm(), ilAdvancedMDTranslationGUI\initCreateTranslationForm(), ilPCDataTableGUI\initCreationForm(), ilPCFileListGUI\initEditForm(), ilPDNewsTableGUI\initFilter(), ilLTIConsumerGradeSynchronizationTableGUI\initFilter(), ilRoleAssignmentTableGUI\initFilter(), ilBuddySystemRelationsTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), ilLanguageExtTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ilMStListCoursesTableGUI\initFilter(), ilSurveyQuestionsTableGUI\initFilter(), ilMStShowUserCoursesTableGUI\initFilter(), ilLPObjectStatisticsTableGUI\initFilter(), ilLPObjectStatisticsDailyTableGUI\initFilter(), ilRegistrationCodesTableGUI\initFilter(), ilRoleTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilSessionMaterialsTableGUI\initFilter(), ilMediaPoolTableGUI\initFilter(), ilQuestionBrowserTableGUI\initFilter(), ilUserTableGUI\initFilter(), ilLTIConsumerProviderTableGUI\initFilter(), ilExerciseManagementGUI\initFilter(), ilPCAMDPageListGUI\initForm(), ilPCResourcesGUI\initForm(), ilPCMapGUI\initForm(), ilPCTabsGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), ilLDAPSettingsGUI\initForm(), ilObjUserGUI\initForm(), ilECSMappingSettingsGUI\initFormCSettings(), ilOrgUnitPositionFormGUI\initFormElements(), ilCASSettingsGUI\initFormSettings(), ilObjCalendarSettingsGUI\initFormSettings(), ilObjLoggingSettingsGUI\initFormSettings(), ilObjAwarenessAdministrationGUI\initFormSettings(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilPCListGUI\initListForm(), ilLTIProviderObjectSettingGUI\initObjectSettingsForm(), ilObjSCORMLearningModuleGUI\initPropertiesForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilPCTableGUI\initPropertiesForm(), ilObjContentObjectGUI\initPropertiesForm(), ilCalendarUserSettingsGUI\initSettingsForm(), ilECSSettingsGUI\initSettingsForm(), ilObjTaxonomyGUI\initSettingsForm(), ilObjectContentStyleSettingsGUI\initStylePropertiesForm(), ilStyleCharacteristicGUI\initTagStyleForm(), ilObjStyleSheetGUI\initTemplateGenerationForm(), ilMediaPoolImportGUI\initTranslationImportForm(), ilLMImportGUI\initTranslationImportForm(), ilPCQuestionGUI\insert(), ilContactGUI\inviteToChatForm(), ilFileSystemGUI\listFiles(), ilContSkillAdminGUI\listProfiles(), ilWikiPageTemplateGUI\listTemplates(), ilBadgeManagementGUI\listUsers(), ilSessionStatisticsGUI\long(), ilExerciseManagementGUI\membersObject(), ilObjSCORMLearningModuleGUI\newModuleVersion(), ilSCORMTrackingItemsPerUserFilterGUI\parse(), ilSCORMTrackingItemsPerScoFilterGUI\parse(), ilSCORM2004TrackingItemsPerUserFilterGUI\parse(), ilSCORM2004TrackingItemsPerScoFilterGUI\parse(), assClozeTestGUI\populateGapFormPart(), assKprimChoiceGUI\populateQuestionSpecificFormPart(), assOrderingQuestionGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateQuestionSpecificFormPart(), assTextSubsetGUI\populateQuestionSpecificFormPart(), assMatchingQuestionGUI\populateQuestionSpecificFormPart(), assTextQuestionGUI\populateQuestionSpecificFormPart(), ilSurveyEditorGUI\questionsObject(), assFormulaQuestionGUI\resetSavedPreviewSession(), ilObjOrgUnitSettingsFormGUI\saveObject(), ilPersonalSkillsGUI\selfEvaluation(), ilSurveyEditorGUI\setBrowseForQuestionsSubtabs(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjCertificateSettingsGUI\settings(), ilSessionStatisticsGUI\short(), ilObjContentObjectGUI\showExportIDsOverview(), ilExerciseManagementGUI\showParticipantObject(), ilObjGlossaryGUI\showToolbarForStandard(), ilObjContentObjectGUI\showTooltipList(), ilExcCriteriaGUI\view(), and ilWikiStatGUI\viewToolbar().
 Here is the caller graph for this function:| ilSelectInputGUI::setOptionsLangAttribute | ( | \Closure | $langresolve | ) | 
Definition at line 58 of file class.ilSelectInputGUI.php.
References $langresolve.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
 Here is the caller graph for this function:| ilSelectInputGUI::setValue | ( | $a_value | ) | 
Set Value.
| string | array | $a_value | Value | 
Definition at line 73 of file class.ilSelectInputGUI.php.
References ilFormPropertyGUI\getMulti(), and ilFormPropertyGUI\setMultiValues().
Referenced by ilUserProfile\getCountryInput(), ilUserProfile\getLanguageInput(), ilCalendarCategoryGUI\getSearchToolbar(), ilECSSettingsGUI\initCategoryMappingForm(), ilObjCourseGUI\initEditForm(), ilPCListGUI\initListForm(), ilECSSettingsGUI\initMappingsForm(), ilGlossaryPresentationGUI\initPrintViewSelectionForm(), ilOpenIdConnectSettingsGUI\initSettingsForm(), ilTaxAssignInputGUI\setCurrentValues(), setValueByArray(), and ilRegistrationGUI\showCustomFields().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSelectInputGUI::setValueByArray | ( | array | $a_values | ) | 
Definition at line 93 of file class.ilSelectInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubItems(), and setValue().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 28 of file class.ilSelectInputGUI.php.
Referenced by getCustomAttributes().
      
  | 
  protected | 
Definition at line 35 of file class.ilSelectInputGUI.php.
      
  | 
  protected | 
Definition at line 30 of file class.ilSelectInputGUI.php.
Referenced by render(), and setOptionsLangAttribute().
      
  | 
  protected | 
Definition at line 29 of file class.ilSelectInputGUI.php.
Referenced by ilCountrySelectInputGUI\getOptions(), and ilTaxAssignInputGUI\getOptions().
      
  | 
  protected | 
Definition at line 34 of file class.ilSelectInputGUI.php.
Referenced by checkInput(), getValue(), and render().