ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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) | |
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 | |
$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 66 of file class.ilPropertyFormGUI.php.
References $lng, rebuildUploadedFiles(), and ilFormGUI\setPreventDoubleSubmission().
ilPropertyFormGUI::addCommandButton | ( | $a_cmd, | |
$a_text, | |||
$a_id = "" |
|||
) |
Add Command button.
string | Command |
string | Text |
Definition at line 537 of file class.ilPropertyFormGUI.php.
References array.
Referenced by FormMailCodesGUI\__construct(), arConfigFormGUI\addCommandButtons(), ilAssQuestionAuthoringFormGUI\addGenericAssessmentQuestionCommandButtons(), ilAssOrderingQuestionAuthoringFormGUI\addSpecificOrderingQuestionCommandButtons(), ilChatroomFormFactory\applyValues(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilAssQuestionSkillAssignmentPropertyFormGUI\build(), ilAsyncPropertyFormGUI\cloneForm(), ilObjForumAdministrationGUI\getSettingsForm(), ilMemcacheServerFormGUI\initButtons(), arEditGUI\initCommandButtons(), ilDclTableViewEditFormGUI\initForm(), 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 522 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 248 of file class.ilPropertyFormGUI.php.
Referenced by FormMailCodesGUI\__construct(), ilForumCronNotification\activationWasToggled(), ilObjTestSettingsGeneralGUI\addAvailabilityProperties(), ilObjRemoteWikiGUI\addCustomEditForm(), ilObjRemoteLearningModuleGUI\addCustomEditForm(), ilObjRemoteGlossaryGUI\addCustomEditForm(), ilObjRemoteTestGUI\addCustomEditForm(), ilObjRemoteCourseGUI\addCustomEditForm(), ilObjRemoteGroupGUI\addCustomEditForm(), ilAdvancedMDFieldDefinitionFloat\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionSelect\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionText\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionInteger\addCustomFieldToDefinitionForm(), ilMailCronNotification\addCustomSettingsToForm(), ilDAVCronDiskQuota\addCustomSettingsToForm(), ilSCCronTrash\addCustomSettingsToForm(), ilMailCronOrphanedMails\addCustomSettingsToForm(), ilConsultationHourCron\addCustomSettingsToForm(), ilLoggerCronCleanErrorFiles\addCustomSettingsToForm(), ilCronDeleteInactivatedUserAccounts\addCustomSettingsToForm(), ilCronDeleteInactiveUserAccounts\addCustomSettingsToForm(), SurveyMultipleChoiceQuestionGUI\addFieldsToEditForm(), SurveyMetricQuestionGUI\addFieldsToEditForm(), SurveyTextQuestionGUI\addFieldsToEditForm(), SurveySingleChoiceQuestionGUI\addFieldsToEditForm(), SurveyMatrixQuestionGUI\addFieldsToEditForm(), arEditGUI\addFormField(), ilCharSelectorGUI\addFormProperties(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilPersonalProfileGUI\addLocationToForm(), ilMembershipRegistrationSettingsGUI\addMembershipFormElements(), 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(), ilChatroomFormFactory\applyValues(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilAssQuestionSkillAssignmentPropertyFormGUI\build(), ilAsyncPropertyFormGUI\cloneForm(), ilAssQuestionFeedback\completeGenericFormProperties(), ilAssConfigurableMultiOptionQuestionFeedback\completeSpecificFormProperties(), ilAssMultiOptionQuestionFeedback\completeSpecificFormProperties(), getContent(), ilObjForumAdministrationGUI\getSettingsForm(), ilExAssignmentEditorGUI\handleDisabledPeerFields(), ilUserProfileBadgeGUI\initConfigForm(), ilCourseLPBadgeGUI\initConfigForm(), ilObjPortfolioTemplateGUI\initCopyPageFormOptions(), ilObjPortfolioGUI\initCopyPageFormOptions(), ilExcCriteriaText\initCustomForm(), ilObjPortfolioTemplateGUI\initDidacticTemplate(), ilObjectGUI\initDidacticTemplate(), ilObjPollGUI\initEditCustomForm(), ilObjBlogGUI\initEditCustomForm(), ilObjItemGroupGUI\initEditCustomForm(), ilObjPortfolioBaseGUI\initEditCustomForm(), ilObjBookingPoolGUI\initEditCustomForm(), ilObjExerciseGUI\initEditCustomForm(), ilObjPortfolioTemplateGUI\initEditCustomForm(), ilObjBibliographicGUI\initEditCustomForm(), ilObjMediaPoolGUI\initEditCustomForm(), ilObjDataCollectionGUI\initEditCustomForm(), arConfigFormGUI\initForm(), ilMemcacheServerFormGUI\initForm(), ilDclTableViewEditFormGUI\initForm(), ilObjBibliographicAdminLibrariesFormGUI\initForm(), ilOrgUnitTypeFormGUI\initForm(), ilStudyProgrammeTypeFormGUI\initForm(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilPersonalChatSettingsFormGUI\initForm(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilContainerGUI\initSortingForm(), insertItem(), ilObjForumGUI\isTopLevelReplyCommand(), 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(), assErrorTextGUI\populateQuestionSpecificFormPart(), assImagemapQuestionGUI\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(), ilStudyProgrammeTypeAdvancedMetaDataFormGUI\saveObject(), ilOrgUnitTypeAdvancedMetaDataFormGUI\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 416 of file class.ilPropertyFormGUI.php.
References $_POST, $data, $file, $lng, $ok, getDisableStandardMessage(), and ilUtil\sendFailure().
Referenced by ilMemcacheServerFormGUI\fillObject(), arConfigFormGUI\fillObject(), ilStudyProgrammeTypeAdvancedMetaDataFormGUI\fillObject(), ilOrgUnitTypeAdvancedMetaDataFormGUI\fillObject(), ilOrgUnitTypeFormGUI\fillObject(), ilStudyProgrammeTypeFormGUI\fillObject(), ilObjOrgUnitSettingsFormGUI\fillObject(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilScoringAdjustmentGUI\outputAdjustQuestionForm(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilPersonalChatSettingsFormGUI\saveChatOptions(), ilObjBibliographicAdminLibrariesFormGUI\saveObject(), and arEditGUI\setArFieldsAfterSubmit().
ilPropertyFormGUI::clearCommandButtons | ( | ) |
Remove all command buttons.
Definition at line 555 of file class.ilPropertyFormGUI.php.
References array.
Referenced by ilAssOrderingQuestionAuthoringFormGUI\renewOrderingCommandButtons().
ilPropertyFormGUI::executeCommand | ( | ) |
Execute command.
Definition at line 82 of file class.ilPropertyFormGUI.php.
References $cmd, $ilCtrl, and getItemByPostVar().
ilPropertyFormGUI::getCommandButtons | ( | ) |
Return all Command buttons.
Definition at line 548 of file class.ilPropertyFormGUI.php.
References $buttons.
Referenced by ilAsyncPropertyFormGUI\cloneForm().
ilPropertyFormGUI::getContent | ( | ) |
Get Content.
Definition at line 563 of file class.ilPropertyFormGUI.php.
References $_POST, $ilSetting, $ilUser, $lng, $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 202 of file class.ilPropertyFormGUI.php.
References $description.
Referenced by getContent().
ilPropertyFormGUI::getDisableStandardMessage | ( | ) |
Get disable standard message.
Definition at line 356 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 976 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 366 of file class.ilPropertyFormGUI.php.
References $hide_labels.
Referenced by insertItem().
ilPropertyFormGUI::getHTML | ( | ) |
Definition at line 900 of file class.ilPropertyFormGUI.php.
References $a_type, $html, array, ilUtil\createDirectory(), ilUtil\getDataDir(), getItemByPostVar(), and ilUtil\moveUploadedFile().
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 502 of file class.ilPropertyFormGUI.php.
References $_POST.
Referenced by ilAdvancedMDFieldDefinitionSelect\buildConfirmedObjects(), ilDclTextFieldModel\checkFieldCreationInput(), ilDclTextFieldModel\checkValidityFromForm(), ilDclBaseFieldModel\checkValidityFromForm(), ilDclTableViewEditFormGUI\createTableView(), ilMemcacheServerFormGUI\fillObject(), ilStudyProgrammeTypeAdvancedMetaDataFormGUI\fillObject(), ilOrgUnitTypeAdvancedMetaDataFormGUI\fillObject(), ilOrgUnitTypeFormGUI\fillObject(), ilStudyProgrammeTypeFormGUI\fillObject(), ilObjOrgUnitSettingsFormGUI\fillObject(), ilCourseLPBadgeGUI\getConfigFromForm(), ilObjForumGUI\getEditFormCustomValues(), 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(), ilAdvancedMDFieldDefinitionSelect\prepareCustomDefinitionFormConfirmation(), ilAdvancedMDFieldDefinition\prepareDefinitionFormConfirmation(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilPersonalChatSettingsFormGUI\saveChatOptions(), ilMemberAgreementGUI\saveCourseDefinedFields(), ilConsultationHourCron\saveCustomSettings(), ilLoggerCronCleanErrorFiles\saveCustomSettings(), ilMailCronOrphanedMails\saveCustomSettings(), ilSCCronTrash\saveCustomSettings(), ilForumCronNotification\saveCustomSettings(), ilAssQuestionFeedback\saveGenericFormProperties(), ilObjBibliographicAdminLibrariesFormGUI\saveObject(), ilContainerGUI\saveSortingSettings(), ilAssMultiOptionQuestionFeedback\saveSpecificFormProperties(), ilAssConfigurableMultiOptionQuestionFeedback\saveSpecificFormProperties(), ilObjTestSettingsGeneralGUI\saveTestRunProperties(), ilObjTestSettingsGeneralGUI\saveTestSequenceSettings(), arConfigFormGUI\saveValueForItem(), arEditGUI\setDateTimeRecordField(), ilBookingScheduleGUI\setDefinitionFromPost(), arEditGUI\setNumericRecordField(), arEditGUI\setTextRecordField(), ilObjPollGUI\updateCustom(), ilObjPortfolioBaseGUI\updateCustom(), ilObjBookingPoolGUI\updateCustom(), ilObjItemGroupGUI\updateCustom(), ilObjBlogGUI\updateCustom(), ilObjPortfolioTemplateGUI\updateCustom(), ilObjExerciseGUI\updateCustom(), ilObjMediaPoolGUI\updateCustom(), ilObjBibliographicGUI\updateCustom(), ilObjPortfolioGUI\updateCustom(), ilObjDataCollectionGUI\updateCustom(), 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 319 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 275 of file class.ilPropertyFormGUI.php.
References $ret.
Referenced by ilCronDeleteInactiveUserAccounts\addCustomSettingsToForm(), ilTestRandomQuestionSetPoolDefinitionFormGUI\applySubmit(), ilChatroomFormFactory\applyValues(), ilDclTextFieldModel\checkFieldCreationInput(), executeCommand(), ilExcCriteriaText\exportCustomForm(), ilExcCriteriaCatalogueGUI\exportForm(), ilExcCriteriaGUI\exportForm(), assOrderingQuestion\fetchSolutionListFromSubmittedForm(), ilTestSettingsGUI\formPropertyExists(), ilObjQuestionPoolSettingsGeneralGUI\formPropertyExists(), ilExAssignmentEditorGUI\getAssignmentValues(), getHTML(), ilAssOrderingQuestionAuthoringFormGUI\getOrderingElementInputField(), ilExAssignmentEditorGUI\handleDisabledFields(), ilExAssignmentEditorGUI\handleDisabledPeerFields(), ilObjTestSettingsScoringResultsGUI\hasScoringSettingsChanged(), ilUserProfileBadgeGUI\importConfigToForm(), ilCourseLPBadgeGUI\importConfigToForm(), ilAdvancedMDFieldDefinition\importDefinitionFormPostValues(), ilOrgUnitTypeCustomIconsFormGUI\initForm(), ilStudyProgrammeTypeCustomIconsFormGUI\initForm(), ilAssQuestionFeedback\initGenericFormProperties(), ilAssConfigurableMultiOptionQuestionFeedback\initSpecificFormProperties(), ilAssMultiOptionQuestionFeedback\initSpecificFormProperties(), ilObjTestSettingsGeneralGUI\isSkillServiceSettingToBeAdjusted(), assMatchingQuestionGUI\isValidTermAndDefinitionAmount(), ilScoringAdjustmentGUI\outputAdjustQuestionForm(), ilObjQuestionPoolSettingsGeneralGUI\performSaveForm(), ilObjTestDynamicQuestionSetConfigGUI\performSaveForm(), ilObjTestSettingsGeneralGUI\performSaveForm(), 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(), ilObjBlogGUI\updateCustom(), ilObjPortfolioTemplateGUI\updateCustom(), ilObjPollGUI\validateCustom(), SurveyMultipleChoiceQuestionGUI\validateEditForm(), ilCourseLPBadgeGUI\validateForm(), assImagemapQuestionGUI\writeAnswerSpecificPostData(), assKprimChoiceGUI\writeAnswerSpecificPostData(), assKprimChoiceGUI\writeQuestionSpecificPostData(), and assMultipleChoiceGUI\writeQuestionSpecificPostData().
ilPropertyFormGUI::getItems | ( | ) |
Get Items.
Definition at line 308 of file class.ilPropertyFormGUI.php.
References $items.
Referenced by ilAsyncPropertyFormGUI\cloneForm(), ilUserFormSettings\exportToForm(), arConfigFormGUI\fillForm(), ilAsyncPropertyFormGUI\getErrors(), ilUserFormSettings\importFromForm(), ilAssQuestionAuthoringFormGUI\replaceFormItemByPostVar(), and arConfigFormGUI\saveObject().
ilPropertyFormGUI::getMode | ( | ) |
Get Mode ('std', 'subform').
Definition at line 142 of file class.ilPropertyFormGUI.php.
References $mode.
Referenced by getContent(), and insertItem().
ilPropertyFormGUI::getShowTopButtons | ( | ) |
Set show top buttons.
Definition at line 238 of file class.ilPropertyFormGUI.php.
References $show_top_buttons.
Referenced by getContent().
|
final |
get table width
public
Definition at line 122 of file class.ilPropertyFormGUI.php.
References $tbl_width.
Referenced by getContent().
ilPropertyFormGUI::getTitle | ( | ) |
Get Title.
Definition at line 162 of file class.ilPropertyFormGUI.php.
References $title.
Referenced by getContent().
ilPropertyFormGUI::getTitleIcon | ( | ) |
Get TitleIcon.
Definition at line 182 of file class.ilPropertyFormGUI.php.
References $titleicon.
Referenced by getContent().
ilPropertyFormGUI::getTopAnchor | ( | ) |
Get top anchor.
Definition at line 222 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 1032 of file class.ilPropertyFormGUI.php.
References $data, and getFileUpload().
|
protected |
Definition at line 727 of file class.ilPropertyFormGUI.php.
References $a_type, and array.
Referenced by insertItem().
ilPropertyFormGUI::insertItem | ( | $item, | |
$a_sub_item = false |
|||
) |
Definition at line 733 of file class.ilPropertyFormGUI.php.
References $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 1048 of file class.ilPropertyFormGUI.php.
References $data, getFileUpload(), and ilUtil\moveUploadedFile().
|
protected |
try to rebuild files
Definition at line 1088 of file class.ilPropertyFormGUI.php.
References $_POST, $file, ilFormGUI\$name, and ilUtil\getDataDir().
Referenced by __construct().
ilPropertyFormGUI::removeItemByPostVar | ( | $a_post_var | ) |
Remove Item.
string | $a_postvar | Post Var |
Definition at line 259 of file class.ilPropertyFormGUI.php.
Referenced by ilObjItemGroupGUI\initEditCustomForm(), and ilTestSettingsGUI\removeHiddenItems().
ilPropertyFormGUI::setDescription | ( | $a_val | ) |
Set description.
string | description |
Definition at line 192 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setDisableStandardMessage | ( | $a_val | ) |
Set disable standard message.
boolean | disable standard message |
Definition at line 346 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 376 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setItems | ( | $a_items | ) |
Set Items.
array | $a_items | array of item objects |
Definition at line 298 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 132 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setShowTopButtons | ( | $a_val | ) |
Get show top buttons.
Definition at line 230 of file class.ilPropertyFormGUI.php.
|
final |
Set table width.
public
string | table width |
Definition at line 111 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setTitle | ( | $a_title | ) |
Set Title.
string | $a_title | Title |
Definition at line 152 of file class.ilPropertyFormGUI.php.
Referenced by FormMailCodesGUI\__construct(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilAssQuestionSkillAssignmentPropertyFormGUI\build(), getContent(), ilObjForumAdministrationGUI\getSettingsForm(), ilMemcacheServerFormGUI\initButtons(), ilObjExerciseGUI\initEditCustomForm(), arConfigFormGUI\initForm(), ilDclTableViewEditFormGUI\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 172 of file class.ilPropertyFormGUI.php.
ilPropertyFormGUI::setTopAnchor | ( | $a_val | ) |
Set top anchor.
string | top anchor |
Definition at line 212 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 386 of file class.ilPropertyFormGUI.php.
Referenced by ilObjForumAdministrationGUI\editSettings(), arConfigFormGUI\fillForm(), ilMemcacheServerFormGUI\fillForm(), ilObjBibliographicAdminLibrariesFormGUI\fillForm(), ilIndividualAssessmentSettingsGUI\fillForm(), ilIndividualAssessmentMemberGUI\fillForm(), ilIndividualAssessmentSettingsGUI\fillInfoForm(), ilExAssignmentEditorGUI\getAssignmentValues(), ilSystemStyleIconsGUI\getByColorValues(), ilSystemStyleIconsGUI\getByIconValues(), ilSystemStyleLessGUI\getVariablesValues(), ilMarkSchemaGUI\populateEctsForm(), ilMailTemplateGUI\populateFormWithTemplate(), ilObjWikiSettingsGUI\populateWithCurrentSettings(), and ilPersonalChatSettingsFormGUI\showChatOptions().
ilPropertyFormGUI::setValuesByPost | ( | ) |
Set form values from POST values.
Definition at line 402 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 49 of file class.ilPropertyFormGUI.php.
Referenced by getCommandButtons().
|
protected |
Definition at line 52 of file class.ilPropertyFormGUI.php.
|
protected |
Definition at line 56 of file class.ilPropertyFormGUI.php.
Referenced by ilOrgUnitTypeFormGUI\fillObject(), ilStudyProgrammeTypeFormGUI\fillObject(), and getDescription().
|
protected |
Definition at line 53 of file class.ilPropertyFormGUI.php.
Referenced by getDisableStandardMessage().
|
protected |
Definition at line 59 of file class.ilPropertyFormGUI.php.
Referenced by getHideLabels().
|
private |
Definition at line 50 of file class.ilPropertyFormGUI.php.
Referenced by getItems().
|
protected |
Definition at line 51 of file class.ilPropertyFormGUI.php.
Referenced by getMode().
|
protected |
Definition at line 58 of file class.ilPropertyFormGUI.php.
Referenced by getShowTopButtons().
|
protected |
Definition at line 57 of file class.ilPropertyFormGUI.php.
Referenced by getTableWidth().
|
protected |
Definition at line 55 of file class.ilPropertyFormGUI.php.
Referenced by getTitleIcon().
|
protected |
Definition at line 54 of file class.ilPropertyFormGUI.php.
Referenced by getTopAnchor().