ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
This class represents a property form user interface. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
executeCommand () | |
Execute command. More... | |
setTableWidth ($a_width) | |
Set table width. More... | |
getTableWidth () | |
get table width More... | |
setMode ($a_mode) | |
Set Mode ('std', 'subform'). More... | |
getMode () | |
Get Mode ('std', 'subform'). More... | |
setTitle ($a_title) | |
Set Title. More... | |
getTitle () | |
Get Title. More... | |
setTitleIcon ($a_titleicon) | |
Set TitleIcon. More... | |
getTitleIcon () | |
Get TitleIcon. More... | |
setDescription ($a_val) | |
Set description. More... | |
getDescription () | |
Get description. More... | |
setTopAnchor ($a_val) | |
Set top anchor. More... | |
getTopAnchor () | |
Get top anchor. More... | |
setShowTopButtons ($a_val) | |
Get show top buttons. More... | |
getShowTopButtons () | |
Set show top buttons. More... | |
addItem ($a_item) | |
Add Item (Property, SectionHeader). More... | |
removeItemByPostVar ($a_post_var, $a_remove_unused_headers=false) | |
Remove Item. More... | |
getItemByPostVar ($a_post_var) | |
Get Item by POST variable. More... | |
setItems ($a_items) | |
Set Items. More... | |
getItems () | |
Get Items. More... | |
getInputItemsRecursive () | |
returns a flat array of all input items including the possibly existing subitems recursively More... | |
setDisableStandardMessage ($a_val) | |
Set disable standard message. More... | |
getDisableStandardMessage () | |
Get disable standard message. More... | |
getHideLabels () | |
Get a value indicating whether the labels should be hidden or not. More... | |
setHideLabels ($a_value=true) | |
Set a value indicating whether the labels should be hidden or not. More... | |
setValuesByArray ($a_values, $a_restrict_to_value_keys=false) | |
Set form values from an array. More... | |
setValuesByPost () | |
Set form values from POST values. More... | |
checkInput () | |
Check Post Input. More... | |
getInput ($a_post_var, $ensureValidation=true) | |
Returns the value of a HTTP-POST variable, identified by the passed id. More... | |
addCustomProperty ( $a_title, $a_html, $a_info="", $a_alert="", $a_required=false) | |
Add a custom property. More... | |
addCommandButton ($a_cmd, $a_text, $a_id="") | |
Add Command button. More... | |
getCommandButtons () | |
Return all Command buttons. More... | |
clearCommandButtons () | |
Remove all command buttons. More... | |
getContent () | |
Get Content. More... | |
insertItem ($item, $a_sub_item=false) | |
getHTML () | |
getFileUpload ($a_field, $a_index=null, $a_sub_index=null) | |
Get file upload data. More... | |
hasFileUpload ($a_field, $a_index=null, $a_sub_index=null) | |
Was any file uploaded? More... | |
moveFileUpload ($a_target_directory, $a_field, $a_target_name=null, $a_index=null, $a_sub_index=null) | |
Move upload to target directory. More... | |
Public Member Functions inherited from ilFormGUI | |
setFormAction ($a_formaction) | |
Set FormAction. More... | |
getFormAction () | |
Get FormAction. More... | |
setTarget ($a_target) | |
Set Target. More... | |
getTarget () | |
Get Target. More... | |
setMultipart ($a_multipart) | |
Set Enctype Multipart/Formdata true/false. More... | |
getMultipart () | |
Get Enctype Multipart/Formdata true/false. More... | |
setId ($a_id) | |
Set Id. More... | |
getId () | |
Get Id. More... | |
setName ($a_name) | |
Set Name. More... | |
getName () | |
Get Name. More... | |
setKeepOpen ($a_keepopen) | |
Set Keep Form Tag Open. More... | |
getKeepOpen () | |
Get Keep Form Tag Open. More... | |
setOpenTag ($a_open) | |
Enable/Disable Open Form Tag. More... | |
getOpenTag () | |
Get Open Form Tag Enabled. More... | |
setCloseTag ($a_val) | |
Set close tag. More... | |
getCloseTag () | |
Get close tag. More... | |
setPreventDoubleSubmission ($a_val) | |
Set prevent double submission. More... | |
getPreventDoubleSubmission () | |
Get prevent double submission. More... | |
getHTML () | |
Get HTML. More... | |
getContent () | |
Get Content. More... | |
Protected Member Functions | |
hideRequired ($a_type) | |
rebuildUploadedFiles () | |
try to rebuild files More... | |
Protected Attributes | |
$lng | |
$ctrl | |
$tpl | |
$user | |
$settings | |
$mode = "std" | |
$check_input_called = false | |
$disable_standard_message = false | |
$top_anchor = "il_form_top" | |
$titleicon = false | |
$description = "" | |
$tbl_width = false | |
$show_top_buttons = true | |
$hide_labels = false | |
Protected Attributes inherited from ilFormGUI | |
$formaction | |
$multipart = false | |
$keepopen = false | |
$opentag = true | |
$id | |
$name | |
$prevent_double_submission = false | |
Private Attributes | |
$buttons = array() | |
$items = array() | |
This class represents a property form user interface.
Definition at line 47 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::__construct | ( | ) |
Constructor.
Definition at line 92 of file class.ilPropertyFormGUI.php.
References $DIC, $lng, rebuildUploadedFiles(), ilFormGUI\setPreventDoubleSubmission(), settings(), and user().
ilPropertyFormGUI::addCommandButton | ( | $a_cmd, | |
$a_text, | |||
$a_id = "" |
|||
) |
Add Command button.
string | Command |
string | Text |
Definition at line 589 of file class.ilPropertyFormGUI.php.
References array.
Referenced by ilDclTableViewEditFormGUI\__construct(), FormMailCodesGUI\__construct(), arConfigFormGUI\addCommandButtons(), ilChatroomFormFactory\addDefaultBehaviour(), ilAssQuestionAuthoringFormGUI\addGenericAssessmentQuestionCommandButtons(), ilAssOrderingQuestionAuthoringFormGUI\addSpecificOrderingQuestionCommandButtons(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilAssQuestionSkillAssignmentPropertyFormGUI\build(), ilAsyncPropertyFormGUI\cloneForm(), ilMailOptionsFormGUI\init(), ilOrgUnitDefaultPermissionFormGUI\initButtons(), ILIAS\Modules\OrgUnit\ARHelper\BaseForm\initButtons(), ilMemcacheServerFormGUI\initButtons(), arEditGUI\initCommandButtons(), ilObjBibliographicAdminLibrariesFormGUI\initForm(), ilOrgUnitTypeFormGUI\initForm(), ilStudyProgrammeTypeFormGUI\initForm(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilPersonalChatSettingsFormGUI\initForm(), ilOrgUnitTypeAdvancedMetaDataFormGUI\saveObject(), ilStudyProgrammeTypeAdvancedMetaDataFormGUI\saveObject(), and ilObjOrgUnitSettingsFormGUI\saveObject().
ilPropertyFormGUI::addCustomProperty | ( | $a_title, | |
$a_html, | |||
$a_info = "" , |
|||
$a_alert = "" , |
|||
$a_required = false |
|||
) |
Add a custom property.
string | Title |
string | HTML. |
string | Info text. |
string | Alert text. |
boolean | Required field. (Default false) |
Definition at line 570 of file class.ilPropertyFormGUI.php.
References array, and properties.
ilPropertyFormGUI::addItem | ( | $a_item | ) |
Add Item (Property, SectionHeader).
object | $a_property | Item object |
Definition at line 288 of file class.ilPropertyFormGUI.php.
Referenced by ilDclTableViewEditFormGUI\__construct(), FormMailCodesGUI\__construct(), ilObjTestSettingsGeneralGUI\addAvailabilityProperties(), ilTCPDFRenderer\addConfigElementsToForm(), ilPhantomJSRenderer\addConfigElementsToForm(), ilObjRemoteWikiGUI\addCustomEditForm(), ilObjRemoteLearningModuleGUI\addCustomEditForm(), ilObjRemoteGlossaryGUI\addCustomEditForm(), ilObjRemoteTestGUI\addCustomEditForm(), ilObjRemoteCourseGUI\addCustomEditForm(), ilObjRemoteGroupGUI\addCustomEditForm(), ilAdvancedMDFieldDefinitionFloat\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionSelect\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionText\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionInteger\addCustomFieldToDefinitionForm(), ilDAVCronDiskQuota\addCustomSettingsToForm(), ilSCCronTrash\addCustomSettingsToForm(), ilMailCronNotification\addCustomSettingsToForm(), ilConsultationHourCron\addCustomSettingsToForm(), ilCronDeleteInactivatedUserAccounts\addCustomSettingsToForm(), ilMailCronOrphanedMails\addCustomSettingsToForm(), ilLoggerCronCleanErrorFiles\addCustomSettingsToForm(), ilCronDeleteInactiveUserAccounts\addCustomSettingsToForm(), ilForumCronNotification\addCustomSettingsToForm(), SurveyMultipleChoiceQuestionGUI\addFieldsToEditForm(), SurveyMetricQuestionGUI\addFieldsToEditForm(), SurveyTextQuestionGUI\addFieldsToEditForm(), SurveySingleChoiceQuestionGUI\addFieldsToEditForm(), SurveyMatrixQuestionGUI\addFieldsToEditForm(), arEditGUI\addFormField(), ilCharSelectorGUI\addFormProperties(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilPersonalProfileGUI\addLocationToForm(), ilMembershipRegistrationSettingsGUI\addMembershipFormElements(), ilSamlSettingsGUI\addMetadataElement(), ilObjTestSettingsScoringResultsGUI\addMiscSettingsFormSection(), ilObjTestSettingsGeneralGUI\addQuestionBehaviourProperties(), ilObjTestSettingsScoringResultsGUI\addResultDetailsSettingsFormSection(), ilObjTestSettingsScoringResultsGUI\addResultSummarySettingsFormSection(), ilObjTestSettingsScoringResultsGUI\addScoringSettingsFormSection(), ilECSObjectSettings\addSettingsToForm(), ilSkillTreeNodeGUI\addStatusInput(), ilObjTestSettingsGeneralGUI\addTestAccessProperties(), ilObjTestSettingsGeneralGUI\addTestFinishProperties(), ilObjTestSettingsGeneralGUI\addTestIntroProperties(), ilObjTestSettingsGeneralGUI\addTestRunProperties(), ilObjTestSettingsGeneralGUI\addTestSequenceProperties(), ilAdvancedMDFieldDefinition\addToFieldDefinitionForm(), ilTaxMDGUI\addToMDForm(), ilOrgUnitTypeFormGUI\addTranslationInputs(), ilStudyProgrammeTypeFormGUI\addTranslationInputs(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilAssQuestionSkillAssignmentPropertyFormGUI\build(), ilAsyncPropertyFormGUI\cloneForm(), ilAssQuestionFeedback\completeGenericFormProperties(), ilAssConfigurableMultiOptionQuestionFeedback\completeSpecificFormProperties(), ilAssMultiOptionQuestionFeedback\completeSpecificFormProperties(), getContent(), ilExAssignmentEditorGUI\handleDisabledPeerFields(), ilMailOptionsFormGUI\init(), ilUserProfileBadgeGUI\initConfigForm(), ilCourseLPBadgeGUI\initConfigForm(), ilObjPortfolioTemplateGUI\initCopyPageFormOptions(), ilObjPortfolioGUI\initCopyPageFormOptions(), ilExcCriteriaText\initCustomForm(), ilObjPortfolioTemplateGUI\initDidacticTemplate(), ilObjectGUI\initDidacticTemplate(), ilObjPollGUI\initEditCustomForm(), ilObjItemGroupGUI\initEditCustomForm(), ilObjBlogGUI\initEditCustomForm(), ilObjPortfolioBaseGUI\initEditCustomForm(), ilObjBookingPoolGUI\initEditCustomForm(), ilObjExerciseGUI\initEditCustomForm(), ilObjPortfolioTemplateGUI\initEditCustomForm(), ilObjBibliographicGUI\initEditCustomForm(), ilObjDataCollectionGUI\initEditCustomForm(), ilObjMediaPoolGUI\initEditCustomForm(), ilMemcacheServerFormGUI\initForm(), arConfigFormGUI\initForm(), ilObjBibliographicAdminLibrariesFormGUI\initForm(), ilOrgUnitTypeFormGUI\initForm(), ilStudyProgrammeTypeFormGUI\initForm(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilPersonalChatSettingsFormGUI\initForm(), ilOrgUnitPositionFormGUI\initFormElements(), ilOrgUnitAuthorityFormGUI\initFormElements(), ilOrgUnitDefaultPermissionFormGUI\initFormElements(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilContainerGUI\initSortingForm(), insertItem(), ilAdministrationSettingsFormHandler\parseFieldDefinition(), assErrorTextGUI\populateAnswerSpecificFormPart(), assKprimChoiceGUI\populateAnswerSpecificFormPart(), assOrderingQuestionGUI\populateAnswerSpecificFormPart(), assMatchingQuestionGUI\populateAnswerSpecificFormPart(), assNumericGUI\populateAnswerSpecificFormPart(), assTextSubsetGUI\populateAnswerSpecificFormPart(), assClozeTestGUI\populateAnswerSpecificFormPart(), assTextQuestionGUI\populateAnswerSpecificFormPart(), assSingleChoiceGUI\populateAnswerSpecificFormPart(), assMultipleChoiceGUI\populateAnswerSpecificFormPart(), ilAssQuestionSkillAssignmentPropertyFormGUI\populateFullProperties(), ilAssQuestionSkillAssignmentPropertyFormGUI\populateLimitedProperties(), assFileUploadGUI\populateQuestionSpecificFormPart(), assLongMenuGUI\populateQuestionSpecificFormPart(), assJavaAppletGUI\populateQuestionSpecificFormPart(), assKprimChoiceGUI\populateQuestionSpecificFormPart(), assFlashQuestionGUI\populateQuestionSpecificFormPart(), assImagemapQuestionGUI\populateQuestionSpecificFormPart(), assErrorTextGUI\populateQuestionSpecificFormPart(), assOrderingQuestionGUI\populateQuestionSpecificFormPart(), assMatchingQuestionGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateQuestionSpecificFormPart(), assTextSubsetGUI\populateQuestionSpecificFormPart(), assNumericGUI\populateQuestionSpecificFormPart(), assOrderingHorizontalGUI\populateQuestionSpecificFormPart(), assTextQuestionGUI\populateQuestionSpecificFormPart(), assSingleChoiceGUI\populateQuestionSpecificFormPart(), assMultipleChoiceGUI\populateQuestionSpecificFormPart(), assQuestionGUI\populateTaxonomyFormSection(), ilAdvancedMDFieldDefinitionSelect\prepareCustomDefinitionFormConfirmation(), ilAdvancedMDFieldDefinition\prepareDefinitionFormConfirmation(), ilOrgUnitTypeAdvancedMetaDataFormGUI\saveObject(), ilStudyProgrammeTypeAdvancedMetaDataFormGUI\saveObject(), and ilObjOrgUnitSettingsFormGUI\saveObject().
ilPropertyFormGUI::checkInput | ( | ) |
Check Post Input.
This method also strips slashes and html from input and sets the alert texts for the items, if the input was not ok.
Definition at line 465 of file class.ilPropertyFormGUI.php.
References $_POST, $data, $DIC, $file, $http, $ok, GuzzleHttp\Psr7\$stream, $txt, getDisableStandardMessage(), ILIAS\Filesystem\Stream\Streams\ofString(), and ilUtil\sendFailure().
Referenced by ilOrgUnitPositionFormGUI\fillForm(), ilOrgUnitAuthorityFormGUI\fillObject(), ilMemcacheServerFormGUI\fillObject(), arConfigFormGUI\fillObject(), ilOrgUnitTypeAdvancedMetaDataFormGUI\fillObject(), ilStudyProgrammeTypeAdvancedMetaDataFormGUI\fillObject(), ilOrgUnitDefaultPermissionFormGUI\fillObject(), ilOrgUnitTypeFormGUI\fillObject(), ilStudyProgrammeTypeFormGUI\fillObject(), ilObjOrgUnitSettingsFormGUI\fillObject(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilScoringAdjustmentGUI\outputAdjustQuestionForm(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilMailOptionsFormGUI\save(), ilPersonalChatSettingsFormGUI\saveChatOptions(), ilObjBibliographicAdminLibrariesFormGUI\saveObject(), and arEditGUI\setArFieldsAfterSubmit().
ilPropertyFormGUI::clearCommandButtons | ( | ) |
Remove all command buttons.
Definition at line 608 of file class.ilPropertyFormGUI.php.
References array.
Referenced by ilAssOrderingQuestionAuthoringFormGUI\renewOrderingCommandButtons().
ilPropertyFormGUI::executeCommand | ( | ) |
Execute command.
Definition at line 123 of file class.ilPropertyFormGUI.php.
References $ctrl, $ilCtrl, and getItemByPostVar().
ilPropertyFormGUI::getCommandButtons | ( | ) |
Return all Command buttons.
Definition at line 600 of file class.ilPropertyFormGUI.php.
References $buttons.
Referenced by ilAsyncPropertyFormGUI\cloneForm().
ilPropertyFormGUI::getContent | ( | ) |
Get Content.
Definition at line 616 of file class.ilPropertyFormGUI.php.
References $_POST, $DIC, $ilSetting, $lng, $settings, $tpl, ilCharSelectorGUI\_getCurrentGUI(), ilCharSelectorGUI\_isAllowed(), addItem(), ilCharSelectorConfig\ENABLED, getDescription(), getMode(), ilFormGUI\getMultipart(), getShowTopButtons(), getTableWidth(), getTitle(), getTitleIcon(), getTopAnchor(), ilYuiUtil\initAnimation(), ilYuiUtil\initDom(), ilYuiUtil\initEvent(), insertItem(), and setTitle().
ilPropertyFormGUI::getDescription | ( | ) |
Get description.
Definition at line 242 of file class.ilPropertyFormGUI.php.
References $description.
Referenced by getContent().
ilPropertyFormGUI::getDisableStandardMessage | ( | ) |
Get disable standard message.
Definition at line 408 of file class.ilPropertyFormGUI.php.
References $disable_standard_message.
Referenced by checkInput().
ilPropertyFormGUI::getFileUpload | ( | $a_field, | |
$a_index = null , |
|||
$a_sub_index = null |
|||
) |
Get file upload data.
string | $a_field | form field |
mixed | $a_index | form field index (if array) |
mixed | $a_sub_index | form field subindex (if array) |
Definition at line 997 of file class.ilPropertyFormGUI.php.
Referenced by hasFileUpload(), and moveFileUpload().
ilPropertyFormGUI::getHideLabels | ( | ) |
Get a value indicating whether the labels should be hidden or not.
Definition at line 418 of file class.ilPropertyFormGUI.php.
References $hide_labels.
Referenced by insertItem().
ilPropertyFormGUI::getHTML | ( | ) |
Definition at line 925 of file class.ilPropertyFormGUI.php.
References $a_type, $html, array, ilUtil\createDirectory(), ilUtil\getDataDir(), and getItemByPostVar().
Referenced by SurveyQuestionGUI\addPhrase(), ilChatroomAdminViewGUI\createSettingTemplate(), ilIndividualAssessmentSettingsGUI\renderForm(), ilIndividualAssessmentMemberGUI\renderForm(), arGUI\save(), and ilPersonalChatSettingsFormGUI\showChatOptions().
ilPropertyFormGUI::getInput | ( | $a_post_var, | |
$ensureValidation = true |
|||
) |
Returns the value of a HTTP-POST variable, identified by the passed id.
string | The key used for value determination |
boolean | A flag whether the form input has to be validated before calling this method |
Definition at line 551 of file class.ilPropertyFormGUI.php.
References $_POST.
Referenced by ilSamlIdp\bindDbRecord(), ilAdvancedMDFieldDefinitionSelect\buildConfirmedObjects(), ilDclTextFieldModel\checkFieldCreationInput(), ilDclTextFieldModel\checkValidityFromForm(), ilDclBaseFieldModel\checkValidityFromForm(), ilDclTableViewEditFormGUI\createTableView(), ilOrgUnitPositionFormGUI\fillForm(), ilOrgUnitAuthorityFormGUI\fillObject(), ilMemcacheServerFormGUI\fillObject(), ilOrgUnitTypeAdvancedMetaDataFormGUI\fillObject(), ilStudyProgrammeTypeAdvancedMetaDataFormGUI\fillObject(), ilOrgUnitDefaultPermissionFormGUI\fillObject(), ilOrgUnitTypeFormGUI\fillObject(), ilStudyProgrammeTypeFormGUI\fillObject(), ilObjOrgUnitSettingsFormGUI\fillObject(), ilCourseLPBadgeGUI\getConfigFromForm(), ilDclSelectionFieldModel\getConfirmationGUI(), ilDclBaseFieldModel\getConfirmationGUI(), ilCharSelectorGUI\getFormValues(), ilAdvancedMDFieldDefinitionSelectMulti\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionFloat\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionText\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionSelect\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionInteger\importCustomDefinitionFormPostValues(), ilExcCriteriaText\importCustomForm(), ilAdvancedMDFieldDefinition\importDefinitionFormPostValues(), SurveySingleChoiceQuestionGUI\importEditFormValues(), SurveyTextQuestionGUI\importEditFormValues(), SurveyMetricQuestionGUI\importEditFormValues(), SurveyMultipleChoiceQuestionGUI\importEditFormValues(), SurveyMatrixQuestionGUI\importEditFormValues(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilDclSelectionFieldModel\isConfirmationRequired(), ilAdvancedMDFieldDefinitionSelect\prepareCustomDefinitionFormConfirmation(), ilAdvancedMDFieldDefinition\prepareDefinitionFormConfirmation(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilConsultationHoursGUI\rewriteBookingIdsForAppointments(), ilMailOptionsFormGUI\save(), ilPersonalChatSettingsFormGUI\saveChatOptions(), ilMemberAgreementGUI\saveCourseDefinedFields(), ilConsultationHourCron\saveCustomSettings(), ilSCCronTrash\saveCustomSettings(), ilLoggerCronCleanErrorFiles\saveCustomSettings(), ilMailCronOrphanedMails\saveCustomSettings(), ilForumCronNotification\saveCustomSettings(), ilAssQuestionFeedback\saveGenericFormProperties(), ilObjBibliographicAdminLibrariesFormGUI\saveObject(), ilLTIProviderObjectSettingGUI\saveRoleSelection(), ilContainerGUI\saveSortingSettings(), ilAssMultiOptionQuestionFeedback\saveSpecificFormProperties(), ilAssConfigurableMultiOptionQuestionFeedback\saveSpecificFormProperties(), ilObjTestSettingsGeneralGUI\saveTestRunProperties(), ilObjTestSettingsGeneralGUI\saveTestSequenceSettings(), arConfigFormGUI\saveValueForItem(), arEditGUI\setDateTimeRecordField(), ilBookingScheduleGUI\setDefinitionFromPost(), arEditGUI\setNumericRecordField(), arEditGUI\setTextRecordField(), ilDclSelectionFieldModel\storePropertiesFromForm(), ilDclBaseFieldModel\storePropertiesFromForm(), ilObjPollGUI\updateCustom(), ilObjPortfolioBaseGUI\updateCustom(), ilObjBookingPoolGUI\updateCustom(), ilObjPortfolioTemplateGUI\updateCustom(), ilObjBlogGUI\updateCustom(), ilObjItemGroupGUI\updateCustom(), ilObjExerciseGUI\updateCustom(), ilObjMediaPoolGUI\updateCustom(), ilObjPortfolioGUI\updateCustom(), ilObjDataCollectionGUI\updateCustom(), ilObjBibliographicGUI\updateCustom(), ilForumSettingsGUI\updateCustomValues(), ilObjectServiceSettingsGUI\updateServiceSettingsForm(), ilDclTableViewEditFormGUI\updateTableView(), ilObjOrgUnitSettingsFormGUI\updateTranslation(), ilObjPollGUI\validateCustom(), SurveyMultipleChoiceQuestionGUI\validateEditForm(), and ilCourseLPBadgeGUI\validateForm().
ilPropertyFormGUI::getInputItemsRecursive | ( | ) |
returns a flat array of all input items including the possibly existing subitems recursively
Definition at line 374 of file class.ilPropertyFormGUI.php.
References array.
Referenced by ilTestSettingsChangeConfirmationGUI\populateParametersFromPropertyForm(), and ilObjTestSettingsScoringResultsGUI\showConfirmation().
ilPropertyFormGUI::getItemByPostVar | ( | $a_post_var | ) |
Get Item by POST variable.
string | $a_postvar | Post Var |
Definition at line 333 of file class.ilPropertyFormGUI.php.
Referenced by ilCronDeleteInactiveUserAccounts\addCustomSettingsToForm(), ilTestRandomQuestionSetPoolDefinitionFormGUI\applySubmit(), ilSamlIdp\bindDbRecord(), ilDclTextFieldModel\checkFieldCreationInput(), executeCommand(), ilExcCriteriaText\exportCustomForm(), ilExcCriteriaCatalogueGUI\exportForm(), ilExcCriteriaGUI\exportForm(), assOrderingQuestion\fetchSolutionListFromSubmittedForm(), ilTestSettingsGUI\formPropertyExists(), ilObjQuestionPoolSettingsGeneralGUI\formPropertyExists(), ilExAssignmentEditorGUI\getAssignmentValues(), ilTCPDFRenderer\getConfigFromForm(), ilPhantomJSRenderer\getConfigFromForm(), getHTML(), ilAssOrderingQuestionAuthoringFormGUI\getOrderingElementInputField(), ilExAssignmentEditorGUI\handleDisabledFields(), ilExAssignmentEditorGUI\handleDisabledPeerFields(), ilObjTestSettingsScoringResultsGUI\hasScoringSettingsChanged(), ilUserProfileBadgeGUI\importConfigToForm(), ilCourseLPBadgeGUI\importConfigToForm(), ilAdvancedMDFieldDefinition\importDefinitionFormPostValues(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilAssQuestionFeedback\initGenericFormProperties(), ilAssMultiOptionQuestionFeedback\initSpecificFormProperties(), ilAssConfigurableMultiOptionQuestionFeedback\initSpecificFormProperties(), ilObjTestSettingsGeneralGUI\isSkillServiceSettingToBeAdjusted(), assMatchingQuestionGUI\isValidTermAndDefinitionAmount(), ilScoringAdjustmentGUI\outputAdjustQuestionForm(), ilObjQuestionPoolSettingsGeneralGUI\performSaveForm(), ilObjTestDynamicQuestionSetConfigGUI\performSaveForm(), ilObjTestSettingsGeneralGUI\performSaveForm(), ilTCPDFRenderer\populateConfigElementsInForm(), ilPhantomJSRenderer\populateConfigElementsInForm(), ilAdvancedMDFieldDefinitionSelect\prepareCustomDefinitionFormConfirmation(), ilAdvancedMDFieldDefinition\prepareDefinitionFormConfirmation(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilAssOrderingQuestionAuthoringFormGUI\renewOrderingElementInput(), ilTestRandomQuestionSetGeneralConfigFormGUI\save(), ilObjTestSettingsGeneralGUI\saveAvailabilityProperties(), ilCronDeleteInactiveUserAccounts\saveCustomSettings(), ilObjTestSettingsGeneralGUI\saveGeneralProperties(), ilObjTestSettingsGeneralGUI\saveQuestionBehaviourProperties(), ilObjTestSettingsScoringResultsGUI\saveResultDetailsSettings(), ilObjTestSettingsScoringResultsGUI\saveResultMiscOptionsSettings(), ilObjTestSettingsScoringResultsGUI\saveResultSummarySettings(), ilObjTestSettingsScoringResultsGUI\saveScoringSettingsFormSection(), ilObjTestSettingsGeneralGUI\saveTestAccessProperties(), ilObjTestSettingsGeneralGUI\saveTestFinishProperties(), ilObjTestSettingsGeneralGUI\saveTestIntroProperties(), ilObjTestSettingsGeneralGUI\saveTestRunProperties(), ilObjTestSettingsGeneralGUI\saveTestSequenceSettings(), ilBadgeManagementGUI\setBadgeFormValues(), ilMemberAgreementGUI\setCourseDefinedFieldValues(), ilBookingScheduleGUI\setDefinitionFromPost(), ilExAssignmentEditorGUI\setDisabledFieldValues(), ilExAssignmentEditorGUI\setDisabledPeerReviewFieldValues(), ilSessionMembershipRegistrationSettingsGUI\setFormValues(), ilCharSelectorGUI\setFormValues(), ilObjBadgeAdministrationGUI\setImageTemplateFormValues(), ilObjPollGUI\updateCustom(), ilObjPortfolioBaseGUI\updateCustom(), ilObjPortfolioTemplateGUI\updateCustom(), ilObjBlogGUI\updateCustom(), ilObjPollGUI\validateCustom(), SurveyMultipleChoiceQuestionGUI\validateEditForm(), ilCourseLPBadgeGUI\validateForm(), assImagemapQuestionGUI\writeAnswerSpecificPostData(), assKprimChoiceGUI\writeAnswerSpecificPostData(), assKprimChoiceGUI\writeQuestionSpecificPostData(), and assMultipleChoiceGUI\writeQuestionSpecificPostData().
ilPropertyFormGUI::getItems | ( | ) |
Get Items.
Definition at line 363 of file class.ilPropertyFormGUI.php.
References $items.
Referenced by ilAsyncPropertyFormGUI\cloneForm(), ilUserFormSettings\exportToForm(), arConfigFormGUI\fillForm(), ilAsyncPropertyFormGUI\getErrors(), ilUserFormSettings\importFromForm(), ilAssQuestionAuthoringFormGUI\replaceFormItemByPostVar(), arConfigFormGUI\saveObject(), and ilPDFGeneratorUtils\setCheckedIfTrue().
ilPropertyFormGUI::getMode | ( | ) |
Get Mode ('std', 'subform').
Definition at line 182 of file class.ilPropertyFormGUI.php.
References $mode.
Referenced by getContent(), and insertItem().
ilPropertyFormGUI::getShowTopButtons | ( | ) |
Set show top buttons.
Definition at line 278 of file class.ilPropertyFormGUI.php.
References $show_top_buttons.
Referenced by getContent().
|
final |
get table width
public
Definition at line 162 of file class.ilPropertyFormGUI.php.
References $tbl_width.
Referenced by getContent().
ilPropertyFormGUI::getTitle | ( | ) |
Get Title.
Definition at line 202 of file class.ilPropertyFormGUI.php.
References $title.
Referenced by getContent().
ilPropertyFormGUI::getTitleIcon | ( | ) |
Get TitleIcon.
Definition at line 222 of file class.ilPropertyFormGUI.php.
References $titleicon.
Referenced by getContent().
ilPropertyFormGUI::getTopAnchor | ( | ) |
Get top anchor.
Definition at line 262 of file class.ilPropertyFormGUI.php.
References $top_anchor.
Referenced by getContent().
ilPropertyFormGUI::hasFileUpload | ( | $a_field, | |
$a_index = null , |
|||
$a_sub_index = null |
|||
) |
Was any file uploaded?
string | $a_field | form field |
mixed | $a_index | form field index (if array) |
mixed | $a_sub_index | form field subindex (if array) |
Definition at line 1045 of file class.ilPropertyFormGUI.php.
References $data, and getFileUpload().
|
protected |
Definition at line 759 of file class.ilPropertyFormGUI.php.
References $a_type, and array.
Referenced by insertItem().
ilPropertyFormGUI::insertItem | ( | $item, | |
$a_sub_item = false |
|||
) |
Definition at line 765 of file class.ilPropertyFormGUI.php.
References $cfg, $DIC, $lng, $tpl, addItem(), array, getHideLabels(), ilUtil\getImagePath(), getMode(), hideRequired(), ilFormGUI\setMultipart(), and ilHiddenInputGUI\setValue().
Referenced by getContent().
ilPropertyFormGUI::moveFileUpload | ( | $a_target_directory, | |
$a_field, | |||
$a_target_name = null , |
|||
$a_index = null , |
|||
$a_sub_index = null |
|||
) |
Move upload to target directory.
string | $a_target_directory | target directory (without filename!) |
string | $a_field | form field |
string | $a_target_name | target file name (if different from uploaded file) |
mixed | $a_index | form field index (if array) |
mixed | $a_sub_index | form field subindex (if array) |
Definition at line 1061 of file class.ilPropertyFormGUI.php.
References $data, and getFileUpload().
|
protected |
try to rebuild files
Definition at line 1093 of file class.ilPropertyFormGUI.php.
References $_POST, $file, ilFormGUI\$name, $type, and ilUtil\getDataDir().
Referenced by __construct().
ilPropertyFormGUI::removeItemByPostVar | ( | $a_post_var, | |
$a_remove_unused_headers = false |
|||
) |
Remove Item.
string | $a_postvar | Post Var |
Definition at line 299 of file class.ilPropertyFormGUI.php.
Referenced by ilObjItemGroupGUI\initEditCustomForm(), and ilTestSettingsGUI\removeHiddenItems().
ilPropertyFormGUI::setDescription | ( | $a_val | ) |
Set description.
string | description |
Definition at line 232 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setDisableStandardMessage | ( | $a_val | ) |
Set disable standard message.
boolean | disable standard message |
Definition at line 398 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setHideLabels | ( | $a_value = true | ) |
Set a value indicating whether the labels should be hidden or not.
boolean | $a_value | Indicates whether the labels should be hidden. |
Definition at line 428 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setItems | ( | $a_items | ) |
Set Items.
array | $a_items | array of item objects |
Definition at line 353 of file class.ilPropertyFormGUI.php.
Referenced by ilAssQuestionAuthoringFormGUI\replaceFormItemByPostVar().
ilPropertyFormGUI::setMode | ( | $a_mode | ) |
Set Mode ('std', 'subform').
string | $a_mode | Mode ('std', 'subform') |
Definition at line 172 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setShowTopButtons | ( | $a_val | ) |
Get show top buttons.
Definition at line 270 of file class.ilPropertyFormGUI.php.
|
final |
Set table width.
public
string | table width |
Definition at line 151 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setTitle | ( | $a_title | ) |
Set Title.
string | $a_title | Title |
Definition at line 192 of file class.ilPropertyFormGUI.php.
Referenced by ilDclTableViewEditFormGUI\__construct(), FormMailCodesGUI\__construct(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilAssQuestionSkillAssignmentPropertyFormGUI\build(), getContent(), ilMailOptionsFormGUI\init(), ilOrgUnitDefaultPermissionFormGUI\initButtons(), ILIAS\Modules\OrgUnit\ARHelper\BaseForm\initButtons(), ilMemcacheServerFormGUI\initButtons(), ilObjExerciseGUI\initEditCustomForm(), arConfigFormGUI\initForm(), ilObjBibliographicAdminLibrariesFormGUI\initForm(), ilOrgUnitTypeFormGUI\initForm(), ilStudyProgrammeTypeFormGUI\initForm(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilPersonalChatSettingsFormGUI\initForm(), arEditGUI\initFormTitle(), ilOrgUnitTypeAdvancedMetaDataFormGUI\saveObject(), ilStudyProgrammeTypeAdvancedMetaDataFormGUI\saveObject(), and ilObjOrgUnitSettingsFormGUI\saveObject().
ilPropertyFormGUI::setTitleIcon | ( | $a_titleicon | ) |
Set TitleIcon.
string | $a_titleicon | TitleIcon |
Definition at line 212 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setTopAnchor | ( | $a_val | ) |
Set top anchor.
string | top anchor |
Definition at line 252 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setValuesByArray | ( | $a_values, | |
$a_restrict_to_value_keys = false |
|||
) |
Set form values from an array.
array | $a_values | Value array (key is post variable name, value is value) |
Definition at line 438 of file class.ilPropertyFormGUI.php.
Referenced by ilChatroomFormFactory\applyValues(), ilOrgUnitAuthorityFormGUI\fillForm(), arConfigFormGUI\fillForm(), ilOrgUnitPositionFormGUI\fillForm(), ilMemcacheServerFormGUI\fillForm(), ilOrgUnitDefaultPermissionFormGUI\fillForm(), ilObjBibliographicAdminLibrariesFormGUI\fillForm(), ilIndividualAssessmentSettingsGUI\fillForm(), ilIndividualAssessmentMemberGUI\fillForm(), ilIndividualAssessmentSettingsGUI\fillInfoForm(), ilDclSelectionFieldModel\fillPropertiesForm(), ilDclBaseFieldModel\fillPropertiesForm(), ilExAssignmentEditorGUI\getAssignmentValues(), ilSystemStyleIconsGUI\getByColorValues(), ilSystemStyleIconsGUI\getByIconValues(), ilSystemStyleLessGUI\getVariablesValues(), ilMailOptionsFormGUI\populate(), ilMarkSchemaGUI\populateEctsForm(), ilObjMailGUI\populateExternalSettingsForm(), ilObjForumAdministrationGUI\populateForm(), ilMailTemplateGUI\populateFormWithTemplate(), ilObjMailGUI\populateGeneralSettingsForm(), ilObjWikiSettingsGUI\populateWithCurrentSettings(), and ilPersonalChatSettingsFormGUI\showChatOptions().
ilPropertyFormGUI::setValuesByPost | ( | ) |
Set form values from POST values.
Definition at line 452 of file class.ilPropertyFormGUI.php.
References $_POST.
Referenced by ilOrgUnitTypeAdvancedMetaDataFormGUI\fillObject(), ilStudyProgrammeTypeAdvancedMetaDataFormGUI\fillObject(), ilOrgUnitTypeFormGUI\fillObject(), ilStudyProgrammeTypeFormGUI\fillObject(), ilObjOrgUnitSettingsFormGUI\fillObject(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), and ilScoringAdjustmentGUI\outputAdjustQuestionForm().
|
private |
Definition at line 74 of file class.ilPropertyFormGUI.php.
Referenced by getCommandButtons().
|
protected |
Definition at line 77 of file class.ilPropertyFormGUI.php.
|
protected |
Definition at line 57 of file class.ilPropertyFormGUI.php.
Referenced by executeCommand(), ilSCORM2004TrackingItemsPerScoFilterGUI\parse(), and ilSCORM2004TrackingItemsPerUserFilterGUI\parse().
|
protected |
Definition at line 81 of file class.ilPropertyFormGUI.php.
Referenced by ilOrgUnitTypeFormGUI\fillObject(), ilStudyProgrammeTypeFormGUI\fillObject(), and getDescription().
|
protected |
Definition at line 78 of file class.ilPropertyFormGUI.php.
Referenced by getDisableStandardMessage().
|
protected |
Definition at line 84 of file class.ilPropertyFormGUI.php.
Referenced by getHideLabels().
|
private |
Definition at line 75 of file class.ilPropertyFormGUI.php.
Referenced by getItems().
|
protected |
Definition at line 52 of file class.ilPropertyFormGUI.php.
Referenced by arConfigFormGUI\__construct(), ilMemcacheServerFormGUI\__construct(), FormMailCodesGUI\__construct(), __construct(), getContent(), ilAsyncPropertyFormGUI\getErrorMessageTemplate(), insertItem(), ilSCORMTrackingItemsPerScoFilterGUI\parse(), ilSCORMTrackingItemsPerUserFilterGUI\parse(), ilSCORM2004TrackingItemsPerScoFilterGUI\parse(), and ilSCORM2004TrackingItemsPerUserFilterGUI\parse().
|
protected |
Definition at line 76 of file class.ilPropertyFormGUI.php.
Referenced by getMode().
|
protected |
Definition at line 72 of file class.ilPropertyFormGUI.php.
Referenced by FormMailCodesGUI\__construct(), and getContent().
|
protected |
Definition at line 83 of file class.ilPropertyFormGUI.php.
Referenced by getShowTopButtons().
|
protected |
Definition at line 82 of file class.ilPropertyFormGUI.php.
Referenced by getTableWidth().
|
protected |
Definition at line 80 of file class.ilPropertyFormGUI.php.
Referenced by getTitleIcon().
|
protected |
Definition at line 79 of file class.ilPropertyFormGUI.php.
Referenced by getTopAnchor().
|
protected |
Definition at line 62 of file class.ilPropertyFormGUI.php.
Referenced by ilAsyncPropertyFormGUI\addJavaScript(), ilAsyncPropertyFormGUI\addOnLoadCode(), getContent(), ilAsyncPropertyFormGUI\getErrorMessageTemplate(), and insertItem().
|
protected |
Definition at line 67 of file class.ilPropertyFormGUI.php.
Referenced by ilSCORMTrackingItemsPerUserFilterGUI\parse(), and ilSCORM2004TrackingItemsPerUserFilterGUI\parse().