|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilLegacyFormElementsUtil:Static Public Member Functions | |
| static | prepareFormOutput ($a_str, bool $a_strip=false) |
| static | period2String (ilDateTime $a_from, $a_to=null) |
| Return a string of time period. More... | |
| static | prepareTextareaOutput (string $txt_output, bool $prepare_for_latex_output=false, bool $omitNl2BrWhenTextArea=false) |
| Prepares a string for a text area output where latex code may be in it If the text is HTML-free, CHR(13) will be converted to a line break. More... | |
| static | makeTimeSelect (string $prefix, bool $short=true, int $hour=0, int $minute=0, int $second=0, bool $a_use_default=true, array $a_further_options=[]) |
| Creates a combination of HTML selects for time inputs. More... | |
| static | formCheckbox (bool $checked, string $varname, string $value, bool $disabled=false) |
| static | formSelect ( $selected, string $varname, array $options, bool $multiple=false, bool $direct_text=false, int $size=0, string $style_class="", array $attribs=[], bool $disabled=false) |
| Builds a select form field with options and shows the selected option first. More... | |
| static | formRadioButton (bool $checked, string $varname, string $value, string $onclick=null, bool $disabled=false) |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Util class various functions, usage as namespace
Definition at line 32 of file class.ilLegacyFormElementsUtil.php.
|
static |
Definition at line 261 of file class.ilLegacyFormElementsUtil.php.
Referenced by ilLocalUserGUI\assignRoles(), ilObjCategoryGUI\assignRolesObject(), ilECSNodeMappingCmsExplorer\buildFormItem(), ilECSNodeMappingLocalExplorer\buildFormItem(), ilPasteIntoMultipleItemsExplorer\buildFormItem(), ilStartUpGUI\confirmWithdrawal(), ilForumDraftsTableGUI\fillRow(), ilMarkSchemaTableGUI\fillRow(), ilTestPersonalDefaultSettingsTableGUI\fillRow(), ilQuestionPoolImportVerificationTableGUI\fillRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilBuddySystemRelationsTableGUI\fillRow(), ilPCIIMTriggerTableGUI\fillRow(), ilPCImageMapTableGUI\fillRow(), ilMailAttachmentTableGUI\fillRow(), ilImageMapTableGUI\fillRow(), ilAccessibilityDocumentTableGUI\formatCellValue(), ilMailTemplateTableGUI\formatCellValue(), ilTermsOfServiceDocumentTableGUI\formatCellValue(), ilForumSettingsGUI\getUserNotificationTableData(), ilUnitCategoryTableGUI\populateTitle(), ilNestedListInputGUI\render(), ilMailingListsGUI\showMailingLists(), and ilMailingListsGUI\showMembersList().
Here is the caller graph for this function:
|
static |
Definition at line 399 of file class.ilLegacyFormElementsUtil.php.
Referenced by ilECSNodeMappingCmsExplorer\buildFormItem(), ilECSNodeMappingLocalExplorer\buildFormItem(), and ilPasteIntoMultipleItemsExplorer\buildFormItem().
Here is the caller graph for this function:
|
static |
Builds a select form field with options and shows the selected option first.
@access public
| string/array | value to be selected |
| string | variable name in formular |
| array | array with $options (key = lang_key, value = long name) |
| boolean | multiple selection list true/false |
| boolean | if true, the option values are displayed directly, otherwise they are handled as language variable keys and the corresponding language variable is displayed |
| int | size |
| string | style class |
| array | additional attributes (key = attribute name, value = attribute value) |
| boolean | disabled |
Definition at line 316 of file class.ilLegacyFormElementsUtil.php.
Referenced by ilMDEditorGUI\__buildDaysSelect(), ilTypicalLearningTimeInputGUI\__buildDaysSelect(), ilObjUserGUI\__buildFilterSelect(), ilMDEditorGUI\__buildMonthsSelect(), ilTypicalLearningTimeInputGUI\__buildMonthsSelect(), ilObjUserFolderGUI\__buildUserFilterSelect(), ilMDEditorGUI\__fillSubelements(), ilObjUserGUI\__getDateSelect(), ilAdvancedSearchGUI\__getFilterSelect(), ilObjUserGUI\__showUserDefinedFields(), ilPersonalProfileGUI\__showUserDefinedFields(), ilMDUtilSelect\_getBrowserSelect(), ilMDUtilSelect\_getContextSelect(), ilMDUtilSelect\_getCopyrightAndOtherRestrictionsSelect(), ilMDUtilSelect\_getCostsSelect(), ilMDUtilSelect\_getDifficultySelect(), ilMDUtilSelect\_getDurationSelect(), ilMDUtilSelect\_getFormatSelect(), ilMDUtilSelect\_getIntendedEndUserRoleSelect(), ilMDUtilSelect\_getInteractivityLevelSelect(), ilMDUtilSelect\_getInteractivityTypeSelect(), ilMDUtilSelect\_getLanguageSelect(), ilMDUtilSelect\_getLearningResourceTypeSelect(), ilMDUtilSelect\_getLocationTypeSelect(), ilMDUtilSelect\_getOperatingSystemSelect(), ilMDUtilSelect\_getPurposeSelect(), ilMDUtilSelect\_getRoleSelect(), ilMDUtilSelect\_getSemanticDensitySelect(), ilMDUtilSelect\_getStatusSelect(), ilMDUtilSelect\_getStructureSelect(), ilRecurrenceInputGUI\buildMonthlyByDaySelection(), ilRecurrenceInputGUI\buildMonthlyByMonthDaySelection(), ilRecurrenceInputGUI\buildYearlyByDaySelection(), ilRecurrenceInputGUI\buildYearlyByMonthDaySelection(), ilObjSystemFolderGUI\checkObject(), ilObjTypeDefinitionGUI\editObject(), ilTable2GUI\fillActionRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilAdvancedMDRecordTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilPCGridCellTableGUI\fillRow(), ilPCIIMTriggerTableGUI\fillRow(), ilPCImageMapTableGUI\fillRow(), ilImageMapTableGUI\fillRow(), ilMultilingualismTableGUI\fillRow(), ilModulesTableGUI\fillRow(), ilLPCollectionSettingsTableGUI\fillRow(), ilECSCommunityTableGUI\fillRow(), ilObjectTranslation2TableGUI\fillRow(), ilObjectTranslationTableGUI\fillRow(), ilTable2GUI\getLinkbar(), ilRecurrenceInputGUI\insert(), ilLocationInputGUI\insert(), ilLDAPSettingsGUI\prepareMappingSelect(), ilDurationInputGUI\render(), ilInternalLinkGUI\showLinkHelp(), ilPageObjectGUI\showPage(), ilObjectGUI\showPossibleSubObjects(), ilObjUserFolderGUI\showPossibleSubObjects(), and ilStructureObjectGUI\subchap().
Here is the caller graph for this function:
|
static |
Creates a combination of HTML selects for time inputs.
Creates a combination of HTML selects for time inputs. The select names are $prefix[h] for hours, $prefix[m] for minutes and $prefix[s] for seconds.
@access public
| string | $prefix | Prefix of the select name |
| boolean | $short | Set TRUE for a short time input (only hours and minutes). Default is TRUE |
| integer | $hour | Default hour value |
| integer | $minute | Default minute value |
| integer | $second | Default second value |
Definition at line 171 of file class.ilLegacyFormElementsUtil.php.
Referenced by ilLPCollectionSettingsTableGUI\fillRow(), ilTypicalLearningTimeInputGUI\insert(), ilMDEditorGUI\listEducational(), and ilMDEditorGUI\listQuickEdit_scorm().
Here is the caller graph for this function:
|
static |
Return a string of time period.
Definition at line 60 of file class.ilLegacyFormElementsUtil.php.
References $DIC, ILIAS\LTI\ToolProvider\$key, $lng, ilDateTime\get(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Referenced by ilExcAssMemberState\getRemainingTimePresentation(), and ilExAssignmentGUI\getTimeString().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| string | int | $a_str |
Definition at line 38 of file class.ilLegacyFormElementsUtil.php.
References ilUtil\stripSlashes().
Referenced by ilLTIConsumerPlaceholderDescription\__construct(), ilExercisePlaceholderDescription\__construct(), ilTestPlaceholderDescription\__construct(), ilCmiXapiPlaceholderDescription\__construct(), ilScormPlaceholderDescription\__construct(), ilCoursePlaceholderDescription\__construct(), ilObjUserGUI\__showUserDefinedFields(), ilPersonalProfileGUI\__showUserDefinedFields(), assClozeTestGUI\addBasicQuestionFormProperties(), assQuestionGUI\addBasicQuestionFormProperties(), ilInfoScreenGUI\addPropertyTextinput(), ilObjPDFGenerationGUI\buildConfigForm(), assFileUploadFileTableGUI\buildFileItemContent(), ilAssClozeTestFeedback\buildGapFeedbackLabel(), ilAssClozeTestFeedback\buildSelectGapOptionFeedbackLabel(), ilAssClozeTestFeedback\buildTextGapGivenAnswerFeedbackLabel(), ilObjSystemFolderGUI\changeHeaderTitleObject(), ilStartUpGUI\confirmWithdrawal(), ilObjStyleSheetGUI\deleteColorConfirmationObject(), ilTable2GUI\deleteTemplate(), ilObjTest\deliverPDFfromHTML(), ilExGradesTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilHelpMappingTableGUI\fillRow(), ilHelpTooltipTableGUI\fillRow(), ilLMEditShortTitlesTableGUI\fillRow(), ilPortfolioTableGUI\fillRow(), ilPortfolioPageTableGUI\fillRow(), ilSurveyQuestionblockbrowserTableGUI\fillRow(), ilSurveyQuestionbrowserTableGUI\fillRow(), ilSurveyQuestionPoolExportTableGUI\fillRow(), ilAssessmentFolderLogAdministrationTableGUI\fillRow(), ilAssessmentFolderLogTableGUI\fillRow(), ilListOfQuestionsTableGUI\fillRow(), ilTestHistoryTableGUI\fillRow(), ilKprimChoiceAnswerFreqStatTableGUI\fillRow(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilPCGridCellTableGUI\fillRow(), ilPCIIMPopupTableGUI\fillRow(), ilPCTabsTableGUI\fillRow(), ilLanguageExtTableGUI\fillRow(), ilLDAPRoleMappingTableGUI\fillRow(), ilImageMapTableGUI\fillRow(), ilMultiSrtConfirmationTable2GUI\fillRow(), ilMultilingualismTableGUI\fillRow(), ilModulesTableGUI\fillRow(), ilStyleColorTableGUI\fillRow(), ilTaxonomyTableGUI\fillRow(), ilObjectTranslation2TableGUI\fillRow(), ilObjectTranslationTableGUI\fillRow(), ilMDCopyrightSelectionGUI\fillTemplate(), ilMailErrorFormatter\format(), assFormulaQuestion\generateResultInputHTML(), ilAwarenessGUI\getAwarenessList(), assClozeTestGUI\getBestSolutionText(), assErrorText\getErrorTokenHtml(), ilAccessibilitySupportContactsGUI\getFooterLink(), ilSystemSupportContactsGUI\getFooterLink(), ilUserFilterGUI\getHTML(), ilTaggingGUI\getHTML(), ilAdvancedSelectionListGUI\getHTML(), ilAssNestedOrderingElementsInputGUI\getItemHtml(), ilRepositoryObjectSearchBlockGUI\getLegacyContent(), ilObjAssessmentFolderGUI\getLogDataOutputForm(), SurveyQuestionGUI\getMaterialOutput(), ilMailExplorer\getNodeContent(), ilTestServiceGUI\getPassListOfAnswersWithScoring(), ilStudyProgrammePlaceholderValues\getPlaceholderValues(), ilCoursePlaceholderValues\getPlaceholderValuesForPreview(), ilStudyProgrammePlaceholderValues\getPlaceholderValuesForPreview(), assClozeTestGUI\getPreview(), assImagemapQuestionGUI\getPreview(), assKprimChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assOrderingHorizontalGUI\getPreview(), assSingleChoiceGUI\getPreview(), assTextQuestionGUI\getPreview(), SurveyQuestionGUI\getPrintViewQuestionTitle(), assOrderingHorizontalGUI\getSolutionOutput(), assQuestion\getSuggestedSolutionOutput(), ilTaggingGUI\getTaggingInputHTML(), assImagemapQuestionGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), ilHiddenInputGUI\getToolbarHTML(), SurveyMultipleChoiceQuestionGUI\getWorkingForm(), SurveyTextQuestionGUI\getWorkingForm(), ilRepositoryObjectSearchResultTableGUI\init(), ilPreviewGUI\initPreview(), ilMailSearchGUI\initSearchForm(), ilRandomTestROInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilErrorTextWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilImageWizardInputGUI\insert(), ilKVPWizardInputGUI\insert(), ilMatchingPairWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilAssAnswerCorrectionsInputGUI\insert(), ilAssErrorTextCorrectionsInputGUI\insert(), ilAssMultipleChoiceCorrectionsInputGUI\insert(), ilAssSingleChoiceCorrectionsInputGUI\insert(), ilColorPickerInputGUI\insert(), ilCSSRectInputGUI\insert(), ilEMailInputGUI\insert(), ilFileWizardInputGUI\insert(), ilHiddenInputGUI\insert(), ilSelectBuilderInputGUI\insert(), ilTextAreaInputGUI\insert(), ilUserLoginInputGUI\insert(), ilBackgroundImageInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilMDEditorGUI\listAnnotation(), ilMDEditorGUI\listClassification(), ilMDEditorGUI\listEducational(), ilMDEditorGUI\listGeneral(), ilMDEditorGUI\listLifecycle(), ilMDEditorGUI\listMetaMetaData(), ilMDEditorGUI\listQuickEdit_scorm(), ilMDEditorGUI\listRelation(), ilMDEditorGUI\listRights(), ilMDEditorGUI\listTechnical(), assQuestionGUI\outPageSelector(), ilLuceneSearchGUI\performSearch(), assClozeTestGUI\populateNumericGapCorrectionFormProperty(), assClozeTestGUI\populateNumericGapFormPart(), ilObjForumGUI\prepareFormOutput(), ilCertificateUtilHelper\prepareFormOutput(), ilObjTestGUI\printobject(), ilSelectInputGUI\render(), ilRepositorySelectorInputGUI\render(), ilCheckboxInputGUI\render(), ilGloAdvColSortInputGUI\render(), ilTagInputGUI\render(), ilDateDurationInputGUI\render(), ilDateTimeInputGUI\render(), ilMultiSelectInputGUI\render(), ilNonEditableValueGUI\render(), ilNumberInputGUI\render(), ilPasswordInputGUI\render(), ilOrgUnitGenericMultiInputGUI\render(), ilOrgUnitMultiLineInputGUI\render(), ilDclMultiTextInputGUI\render(), ilMultipleImagesInputGUI\render(), ilMultipleTextsInputGUI\render(), ilTextInputGUI\render(), ilTextWizardInputGUI\render(), ilMailQuickFilterInputGUI\render(), ilHierarchyFormGUI\renderChild(), ilTestQuestionSideListGUI\renderList(), ilObjTestGUI\reviewobject(), ilAccountRegistrationGUI\saveForm(), ilTable2GUI\saveTemplate(), ilHelpGUI\search(), ilMailFormGUI\searchUsers(), ilStartUpGUI\showAccountMigration(), ilPasswordAssistanceGUI\showAssistanceForm(), ilAccessibilityControlConceptGUI\showControlConcept(), ilHelpGUI\showPage(), ilLuceneSearchGUI\showSavedResults(), ilSearchGUI\showSearch(), ilLuceneSearchGUI\showSearchForm(), ilLuceneUserSearchGUI\showSearchForm(), ilStartUpGUI\showTermsOfService(), ilPersonalProfileGUI\showUserAgreement(), ilPasswordAssistanceGUI\showUsernameAssistanceForm(), and assQuestionGUI\suggestedsolution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Prepares a string for a text area output where latex code may be in it If the text is HTML-free, CHR(13) will be converted to a line break.
| string | $txt_output | String which should be prepared for output @access public |
Definition at line 110 of file class.ilLegacyFormElementsUtil.php.
References ilMathJax\getInstance(), and ilUtil\isHTML().
Referenced by ilAssQuestionHintsTableGUI\fillRow(), ilAssMatchingPairCorrectionsInputGUI\insert(), ilObjTest\prepareTextareaOutput(), assQuestion\prepareTextareaOutput(), ilAnswerFrequencyStatisticTableGUI\purifyAndPrepareTextAreaOutput(), ilAssQuestionHintRequestGUI\showHintCmd(), and ilAssQuestionHintsGUI\showHintCmd().
Here is the call graph for this function:
Here is the caller graph for this function: