ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (int $a_context, int $a_ref_id, ?string $a_obj_type=null, $a_sub_type=null) | |
Constructor public. More... | |
executeCommand () | |
showRecords () | |
updateSubstitutions () | |
Update substitution public. More... | |
exportRecords () | |
Export records public. More... | |
downloadFile () | |
Download XML file public. More... | |
confirmDeleteFiles () | |
confirm delete files public More... | |
deleteFiles () | |
Delete files public. More... | |
confirmDeleteRecords () | |
Confirm delete public. More... | |
deleteRecords () | |
Permanently delete records public. More... | |
updateRecords () | |
Save records (assigned object typed) public. More... | |
confirmDeleteFields () | |
deleteFields () | |
editRecord (ilPropertyFormGUI $form=null) | |
updateFields () | |
Update fields public. More... | |
updateRecord () | |
Update record public. More... | |
createRecord (ilPropertyFormGUI $form=null) | |
Show public. More... | |
importRecord () | |
saveRecord () | |
Save record public. More... | |
editField (ilPropertyFormGUI $a_form=null) | |
Edit field public. More... | |
updateField () | |
Update field public. More... | |
createField (ilPropertyFormGUI $a_form=null) | |
Show field type selection public. More... | |
saveField () | |
editComplexOption (ilPropertyFormGUI $a_form=null) | |
updateComplexOption () | |
Data Fields | |
const | CONTEXT_ADMINISTRATION = 1 |
const | CONTEXT_OBJECT = 2 |
Protected Attributes | |
const | TAB_RECORD_SETTINGS = 'editRecord' |
const | TAB_TRANSLATION = 'translations' |
ilPropertyFormGUI | $import_form = null |
ilPropertyFormGUI | $form = null |
ilLanguage | $lng |
ilGlobalTemplateInterface | $tpl |
ilCtrl | $ctrl |
RequestInterface | $request |
GlobalHttpState | $http |
RefineryFactory | $refinery |
ilTabsGUI | $tabs_gui |
UIFactory | $ui_factory |
Renderer | $ui_renderer |
ilToolbarGUI | $toolbar |
ilLogger | $logger |
ilAdvancedMDPermissionHelper | $permissions |
ilAdvancedMDRecord | $record = null |
int | $ref_id |
int | $obj_id |
string | $obj_type = null |
$sub_type = null | |
Private Attributes | |
$context = null | |
string | $active_language = '' |
Definition at line 33 of file class.ilAdvancedMDSettingsGUI.php.
ilAdvancedMDSettingsGUI::__construct | ( | int | $a_context, |
int | $a_ref_id, | ||
?string | $a_obj_type = null , |
||
$a_sub_type = null |
|||
) |
Constructor public.
PhpUndefinedMethodInspection
PhpFieldAssignmentTypeMismatchInspection
Definition at line 78 of file class.ilAdvancedMDSettingsGUI.php.
References $DIC, $ref_id, ILIAS\Repository\ctrl(), ilClaimingPermissionHelper\getInstance(), ILIAS\FileDelivery\http(), initContextParameters(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().
ilAdvancedMDSettingsGUI::confirmDeleteFields | ( | ) |
Definition at line 823 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), editFields(), getFieldIdsFromPost(), ilAdvancedMDFieldDefinition\getInstance(), initRecordObject(), ILIAS\Repository\lng(), and setRecordSubTabs().
ilAdvancedMDSettingsGUI::confirmDeleteFiles | ( | ) |
confirm delete files public
Definition at line 571 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), getFileIdsFromPost(), ILIAS\Repository\lng(), and showFiles().
ilAdvancedMDSettingsGUI::confirmDeleteRecords | ( | ) |
Confirm delete public.
Definition at line 636 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecord\_getInstanceByRecordId(), ILIAS\Repository\ctrl(), getRecordIdsFromPost(), ilAdvancedMDRecord\getTitle(), initRecordObject(), ILIAS\Repository\lng(), setRecordSubTabs(), and showRecords().
ilAdvancedMDSettingsGUI::createField | ( | ilPropertyFormGUI | $a_form = null | ) |
Show field type selection public.
Definition at line 1338 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), editFields(), getFieldTypeFromPost(), getFieldTypeFromQuery(), ilAdvancedMDFieldDefinition\getInstance(), getRecordIdFromQuery(), initFieldForm(), initRecordObject(), and setRecordSubTabs().
Referenced by saveField().
ilAdvancedMDSettingsGUI::createRecord | ( | ilPropertyFormGUI | $form = null | ) |
Show public.
Definition at line 1081 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\form(), initForm(), initRecordObject(), and setRecordSubTabs().
Referenced by importRecord(), and saveRecord().
ilAdvancedMDSettingsGUI::deleteFields | ( | ) |
Definition at line 851 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDPermissionHelper\ACTION_FIELD_DELETE, ilAdvancedMDPermissionHelper\CONTEXT_FIELD, ILIAS\Repository\ctrl(), editFields(), getFieldIdsFromPost(), ilAdvancedMDFieldDefinition\getInstance(), getPermissions(), and ILIAS\Repository\lng().
ilAdvancedMDSettingsGUI::deleteFiles | ( | ) |
Delete files public.
Definition at line 608 of file class.ilAdvancedMDSettingsGUI.php.
References $GLOBALS, ILIAS\Repository\access(), getFileIdsFromPost(), ILIAS\Repository\lng(), and showFiles().
ilAdvancedMDSettingsGUI::deleteRecords | ( | ) |
Permanently delete records public.
Definition at line 668 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecord\_getInstanceByRecordId(), ilAdvancedMDPermissionHelper\ACTION_RECORD_DELETE, ilAdvancedMDPermissionHelper\CONTEXT_RECORD, ILIAS\Repository\ctrl(), ilAdvancedMDRecord\delete(), ilAdvancedMDRecord\getParentObject(), getPermissions(), getRecordIdsFromPost(), ilAdvancedMDRecord\getTitle(), ILIAS\Repository\lng(), and showRecords().
ilAdvancedMDSettingsGUI::downloadFile | ( | ) |
Download XML file public.
Definition at line 552 of file class.ilAdvancedMDSettingsGUI.php.
References ilFileDelivery\deliverFileLegacy(), getFileIdsFromPost(), ILIAS\Repository\lng(), and showFiles().
ilAdvancedMDSettingsGUI::editComplexOption | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 2220 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), getFieldIdFromQuery(), ilAdvancedMDFieldDefinition\getInstance(), initComplexOptionForm(), and ILIAS\Repository\lng().
ilAdvancedMDSettingsGUI::editField | ( | ilPropertyFormGUI | $a_form = null | ) |
Edit field public.
Definition at line 1259 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), editFields(), getFieldIdFromQuery(), ilAdvancedMDFieldDefinition\getInstance(), getRecordIdFromQuery(), initFieldForm(), initLanguage(), initRecordObject(), setRecordSubTabs(), and showLanguageSwitch().
Referenced by updateField().
|
protected |
Definition at line 905 of file class.ilAdvancedMDSettingsGUI.php.
References $active_language, $DIC, $type, ilAdvancedMDPermissionHelper\ACTION_RECORD_CREATE_FIELD, ilAdvancedMDPermissionHelper\ACTION_RECORD_FIELD_POSITIONS, ilAdvancedMDPermissionHelper\CONTEXT_RECORD, ILIAS\Repository\ctrl(), ilSubmitButton\getInstance(), ilAdvancedMDFieldDefinition\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), getPermissions(), getRecordIdFromQuery(), ilAdvancedMDFieldDefinition\getValidTypes(), initLanguage(), initRecordObject(), ILIAS\Repository\lng(), setRecordSubTabs(), ilTable2GUI\setTitle(), showLanguageSwitch(), and ILIAS\Repository\toolbar().
Referenced by confirmDeleteFields(), createField(), deleteFields(), editField(), saveField(), updateField(), and updateFields().
ilAdvancedMDSettingsGUI::editRecord | ( | ilPropertyFormGUI | $form = null | ) |
Definition at line 887 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), getRecordIdFromQuery(), initForm(), initLanguage(), initRecordObject(), setRecordSubTabs(), and showLanguageSwitch().
Referenced by updateRecord().
ilAdvancedMDSettingsGUI::executeCommand | ( | ) |
Definition at line 272 of file class.ilAdvancedMDSettingsGUI.php.
References $GLOBALS, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initForm(), initRecordObject(), and setRecordSubTabs().
ilAdvancedMDSettingsGUI::exportRecords | ( | ) |
Export records public.
Definition at line 483 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecord\_getInstanceByRecordId(), ilAdvancedMDPermissionHelper\ACTION_RECORD_EXPORT, ilAdvancedMDPermissionHelper\CONTEXT_RECORD, ILIAS\Repository\ctrl(), getPermissions(), getRecordIdsFromPost(), ilAdvancedMDRecord\getTitle(), ILIAS\Repository\lng(), showFiles(), and showRecords().
|
protected |
Definition at line 136 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by editComplexOption(), editField(), updateComplexOption(), and updateField().
|
protected |
Definition at line 147 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmDeleteFields(), and deleteFields().
|
protected |
Definition at line 188 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by createField().
|
protected |
Definition at line 177 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by createField(), and saveField().
|
protected |
Definition at line 162 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmDeleteFiles(), deleteFiles(), and downloadFile().
|
protected |
Definition at line 199 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by initComplexOptionForm(), and updateComplexOption().
|
protected |
Also get rid of the usage in ilAvancedMDSettingsGUI::updateRecords
Definition at line 2092 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\LTI\ToolProvider\$key, $obj_type, $res, $sub_type, ilAdvancedMDRecord\_getRecords(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilAdvancedMDPermissionHelper\ACTION_RECORD_EDIT, ilAdvancedMDPermissionHelper\ACTION_RECORD_EDIT_FIELDS, ilAdvancedMDPermissionHelper\ACTION_RECORD_EDIT_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_RECORD_TOGGLE_ACTIVATION, ilAdvancedMDPermissionHelper\CONTEXT_RECORD, ilAdvancedMDRecord\getObjRecSelection(), ilAdvancedMDRecord\isFilteredByScope(), and ilAdvancedMDPermissionHelper\SUBACTION_RECORD_OBJECT_TYPES.
Referenced by showRecords(), and updateRecords().
|
protected |
Definition at line 245 of file class.ilAdvancedMDSettingsGUI.php.
References $permissions.
Referenced by deleteFields(), deleteRecords(), editFields(), exportRecords(), getSubstitutionFieldPermissions(), initFieldForm(), initForm(), initFormSubstitutions(), loadRecordFormData(), saveField(), showRecords(), updateField(), updateFields(), updateRecords(), and updateSubstitutions().
|
protected |
Definition at line 213 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by updateFields(), and updateRecords().
|
protected |
Definition at line 110 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by createField(), editField(), editFields(), editRecord(), initRecordObject(), saveField(), updateField(), updateFields(), and updateRecord().
|
protected |
Definition at line 121 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmDeleteRecords(), deleteRecords(), and exportRecords().
|
protected |
Definition at line 1622 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_CATEGORY_EDIT_FIELD_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_CATEGORY_SHOW_FIELD, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_COURSE_EDIT_FIELD_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_COURSE_SHOW_FIELD, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_EXERCISE_EDIT_FIELD_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_EXERCISE_SHOW_FIELD, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_GROUP_EDIT_FIELD_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_GROUP_SHOW_FIELD, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_IASS_EDIT_FIELD_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_IASS_SHOW_FIELD, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_ORG_UNIT_EDIT_FIELD_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_ORG_UNIT_SHOW_FIELD, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_PRG_EDIT_FIELD_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_PRG_SHOW_FIELD, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_SESSION_EDIT_FIELD_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_SESSION_SHOW_FIELD, ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION_CATEGORY, ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION_COURSE, ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION_EXERCISE, ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION_GROUP, ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION_IASS, ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION_ORG_UNIT, ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION_PRG, ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION_SESSION, getPermissions(), ilAdvancedMDPermissionHelper\SUBACTION_SUBSTITUTION_BOLD, and ilAdvancedMDPermissionHelper\SUBACTION_SUBSTITUTION_NEWLINE.
Referenced by initFormSubstitutions(), and updateSubstitutions().
|
protected |
Definition at line 229 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\FileDelivery\http(), ilAdvancedMDRecordTableGUI\ID, and ILIAS\Repository\refinery().
Referenced by updateRecords().
ilAdvancedMDSettingsGUI::importRecord | ( | ) |
Definition at line 1170 of file class.ilAdvancedMDSettingsGUI.php.
References createRecord(), ILIAS\Repository\ctrl(), importRecords(), initImportForm(), ILIAS\Repository\lng(), ilAdvancedMDRecordParser\MODE_INSERT, ilAdvancedMDRecordParser\MODE_INSERT_VALIDATION, and ilAdvancedMDRecordParser\setContext().
|
protected |
Definition at line 1091 of file class.ilAdvancedMDSettingsGUI.php.
References initImportForm(), initRecordObject(), and setRecordSubTabs().
Referenced by importRecord().
|
protected |
Definition at line 2240 of file class.ilAdvancedMDSettingsGUI.php.
References $form, ilPropertyFormGUI\addCommandButton(), ILIAS\Repository\ctrl(), getOidFromQuery(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by editComplexOption(), and updateComplexOption().
|
protected |
string|string[]|null | $sub_type |
Definition at line 253 of file class.ilAdvancedMDSettingsGUI.php.
References $obj_type, $ref_id, $sub_type, and ilObject\_lookupObjId().
Referenced by __construct().
|
protected |
Definition at line 1399 of file class.ilAdvancedMDSettingsGUI.php.
References $active_language, $form, $type, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilAdvancedMDFieldDefinition\addToFieldDefinitionForm(), ILIAS\Repository\ctrl(), ilAdvancedMDFieldDefinition\getDescription(), ilAdvancedMDFieldDefinition\getFieldId(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), getPermissions(), ilAdvancedMDFieldDefinition\getTypeTitle(), ILIAS\Repository\lng(), ilPropertyFormGUI\setDescription(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by createField(), editField(), saveField(), and updateField().
|
protected |
Definition at line 1433 of file class.ilAdvancedMDSettingsGUI.php.
References $check, $form, $GLOBALS, $scope, $type, ilAdvancedMDRecord\_getAssignableObjectTypes(), ilAdvancedMDPermissionHelper\ACTION_RECORD_EDIT_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_RECORD_TOGGLE_ACTIVATION, ilAdvancedMDPermissionHelper\CONTEXT_RECORD, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), getPermissions(), ILIAS\Repository\lng(), ROOT_FOLDER_ID, ilExplorerSelectInputGUI\setValue(), ilTextAreaInputGUI\setValue(), ilAdvancedMDPermissionHelper\SUBACTION_RECORD_DESCRIPTION, ilAdvancedMDPermissionHelper\SUBACTION_RECORD_OBJECT_TYPES, and ilAdvancedMDPermissionHelper\SUBACTION_RECORD_TITLE.
Referenced by createRecord(), editRecord(), executeCommand(), saveRecord(), and updateRecord().
|
protected |
init form table 'substitutions' protected
Definition at line 1818 of file class.ilAdvancedMDSettingsGUI.php.
References $check, $DIC, $form, $obj_type, ilAdvancedMDRecord\_getAllRecordsByObjectType(), ilAdvancedMDSubstitution\_getInstanceByObjectType(), ilAdvancedMDRecord\_lookupTitle(), ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_FIELD_POSITIONS, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_SHOW_DESCRIPTION, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_SHOW_FIELDNAMES, ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), getPermissions(), getSubstitutionFieldPermissions(), ILIAS\Repository\lng(), ilNumberInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by showPresentation(), and updateSubstitutions().
|
protected |
Definition at line 1149 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilFileInputGUI\setSuffixes().
Referenced by importRecord(), and importRecords().
|
protected |
Definition at line 2277 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecordTranslations\getInstanceByRecordId().
Referenced by editField(), editFields(), editRecord(), saveField(), updateField(), and updateRecord().
|
protected |
Definition at line 2038 of file class.ilAdvancedMDSettingsGUI.php.
References $record, ilAdvancedMDRecord\_getInstanceByRecordId(), ILIAS\Repository\ctrl(), and getRecordIdFromQuery().
Referenced by confirmDeleteFields(), confirmDeleteRecords(), createField(), createRecord(), editField(), editFields(), editRecord(), executeCommand(), importRecords(), saveField(), saveRecord(), updateField(), and updateRecord().
|
protected |
Definition at line 1952 of file class.ilAdvancedMDSettingsGUI.php.
References $active_language, $record, $scope, $scopes, $type, ilAdvancedMDRecord\_getAssignableObjectTypes(), ilAdvancedMDPermissionHelper\ACTION_RECORD_EDIT_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_RECORD_TOGGLE_ACTIVATION, ilAdvancedMDPermissionHelper\CONTEXT_RECORD, ilPropertyFormGUI\getInput(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), getPermissions(), ilAdvancedMDPermissionHelper\SUBACTION_RECORD_DESCRIPTION, ilAdvancedMDPermissionHelper\SUBACTION_RECORD_OBJECT_TYPES, and ilAdvancedMDPermissionHelper\SUBACTION_RECORD_TITLE.
Referenced by saveRecord(), and updateRecord().
ilAdvancedMDSettingsGUI::saveField | ( | ) |
Definition at line 1362 of file class.ilAdvancedMDSettingsGUI.php.
References $active_language, $form, ilPropertyFormGUI\checkInput(), createField(), ILIAS\Repository\ctrl(), editFields(), getFieldTypeFromQuery(), ilAdvancedMDFieldDefinition\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), getPermissions(), getRecordIdFromQuery(), initFieldForm(), initLanguage(), initRecordObject(), ILIAS\Repository\lng(), and ilPropertyFormGUI\setValuesByPost().
ilAdvancedMDSettingsGUI::saveRecord | ( | ) |
Save record public.
Definition at line 1216 of file class.ilAdvancedMDSettingsGUI.php.
References $obj_type, $sub_type, createRecord(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilAdvancedMDRecord\getDefaultLanguage(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), ilAdvancedMDRecord\getRecordId(), initForm(), initRecordObject(), ILIAS\Repository\lng(), loadRecordFormData(), ilAdvancedMDRecord\save(), and ilAdvancedMDRecord\setDefaultLanguage().
|
protected |
Set subtabs for record editing/creation.
Definition at line 1104 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by confirmDeleteFields(), confirmDeleteRecords(), createField(), createRecord(), editField(), editFields(), editRecord(), executeCommand(), and importRecords().
|
protected |
Set sub tabs protected.
Definition at line 2057 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecord\_getAllRecordsByObjectType(), and ILIAS\Repository\ctrl().
Referenced by showFiles(), showPresentation(), and showRecords().
|
protected |
Show export files.
Definition at line 524 of file class.ilAdvancedMDSettingsGUI.php.
References $GLOBALS, ILIAS\Repository\access(), ILIAS\Repository\lng(), and setSubTabs().
Referenced by confirmDeleteFiles(), deleteFiles(), downloadFile(), and exportRecords().
|
protected |
Definition at line 2291 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by editField(), editFields(), editRecord(), updateField(), and updateRecord().
|
protected |
Definition at line 362 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\form(), initFormSubstitutions(), setSubTabs(), and showRecords().
ilAdvancedMDSettingsGUI::showRecords | ( | ) |
Definition at line 301 of file class.ilAdvancedMDSettingsGUI.php.
References $DIC, ilObject\_lookupType(), ilAdvancedMDPermissionHelper\ACTION_MD_CREATE_RECORD, ilAdvancedMDPermissionHelper\ACTION_MD_IMPORT_RECORDS, ilAdvancedMDPermissionHelper\CONTEXT_MD, ILIAS\Repository\ctrl(), ilLinkButton\getInstance(), getParsedRecordObjects(), getPermissions(), ILIAS\Repository\lng(), and setSubTabs().
Referenced by confirmDeleteRecords(), deleteRecords(), exportRecords(), and showPresentation().
ilAdvancedMDSettingsGUI::updateComplexOption | ( | ) |
Definition at line 2259 of file class.ilAdvancedMDSettingsGUI.php.
References ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), getFieldIdFromQuery(), ilAdvancedMDFieldDefinition\getInstance(), getOidFromQuery(), initComplexOptionForm(), and ILIAS\Repository\lng().
ilAdvancedMDSettingsGUI::updateField | ( | ) |
Update field public.
Definition at line 1290 of file class.ilAdvancedMDSettingsGUI.php.
References ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), editField(), editFields(), getFieldIdFromQuery(), ilAdvancedMDFieldDefinition\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), getPermissions(), getRecordIdFromQuery(), initFieldForm(), initLanguage(), initRecordObject(), ILIAS\Repository\lng(), ilPropertyFormGUI\setValuesByPost(), and showLanguageSwitch().
ilAdvancedMDSettingsGUI::updateFields | ( | ) |
Update fields public.
Definition at line 992 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDPermissionHelper\ACTION_FIELD_EDIT_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_RECORD_FIELD_POSITIONS, ilAdvancedMDPermissionHelper\CONTEXT_FIELD, ilAdvancedMDPermissionHelper\CONTEXT_RECORD, ILIAS\Repository\ctrl(), editFields(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), getPermissions(), getPositionsFromPost(), getRecordIdFromQuery(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ilAdvancedMDPermissionHelper\SUBACTION_FIELD_SEARCHABLE.
ilAdvancedMDSettingsGUI::updateRecord | ( | ) |
Update record public.
Definition at line 1044 of file class.ilAdvancedMDSettingsGUI.php.
References ILIAS\Repository\ctrl(), editRecord(), ILIAS\Repository\form(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), getRecordIdFromQuery(), initForm(), initLanguage(), initRecordObject(), ILIAS\Repository\lng(), loadRecordFormData(), and showLanguageSwitch().
ilAdvancedMDSettingsGUI::updateRecords | ( | ) |
Save records (assigned object typed) public.
Definition at line 715 of file class.ilAdvancedMDSettingsGUI.php.
References $DIC, $i, $type, ilAdvancedMDRecord\_getInstanceByRecordId(), ilAdvancedMDPermissionHelper\ACTION_RECORD_EDIT_PROPERTY, ilAdvancedMDPermissionHelper\ACTION_RECORD_TOGGLE_ACTIVATION, ilAdvancedMDPermissionHelper\CONTEXT_RECORD, ILIAS\Repository\ctrl(), ilAdvancedMDRecord\deleteObjRecSelection(), getParsedRecordObjects(), getPermissions(), getPositionsFromPost(), getTableOffsetFromPost(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilAdvancedMDRecord\saveObjRecSelection(), ilUtil\stripSlashes(), and ilAdvancedMDPermissionHelper\SUBACTION_RECORD_OBJECT_TYPES.
ilAdvancedMDSettingsGUI::updateSubstitutions | ( | ) |
Update substitution public.
Definition at line 378 of file class.ilAdvancedMDSettingsGUI.php.
References $DIC, ilAdvancedMDRecord\_getActivatedObjTypes(), ilAdvancedMDSubstitution\_getInstanceByObjectType(), ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_FIELD_POSITIONS, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_SHOW_DESCRIPTION, ilAdvancedMDPermissionHelper\ACTION_SUBSTITUTION_SHOW_FIELDNAMES, ilPropertyFormGUI\checkInput(), ilAdvancedMDPermissionHelper\CONTEXT_SUBSTITUTION, ILIAS\Repository\ctrl(), ilPropertyFormGUI\getInput(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), getPermissions(), getSubstitutionFieldPermissions(), initFormSubstitutions(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ilArrayUtil\sortArray().
|
private |
Definition at line 65 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by editFields(), initFieldForm(), loadRecordFormData(), and saveField().
|
private |
Definition at line 45 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 51 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 47 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by initComplexOptionForm(), initFieldForm(), initForm(), initFormSubstitutions(), and saveField().
|
protected |
Definition at line 53 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 46 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 49 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 60 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 67 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 68 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by getParsedRecordObjects(), initContextParameters(), initFormSubstitutions(), and saveRecord().
|
protected |
Definition at line 62 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by getPermissions().
|
protected |
Definition at line 63 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by initRecordObject(), and loadRecordFormData().
|
protected |
Definition at line 66 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by __construct(), and initContextParameters().
|
protected |
Definition at line 54 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 52 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 72 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by getParsedRecordObjects(), initContextParameters(), and saveRecord().
|
protected |
Definition at line 56 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 59 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 50 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 57 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 58 of file class.ilAdvancedMDSettingsGUI.php.
const ilAdvancedMDSettingsGUI::CONTEXT_ADMINISTRATION = 1 |
Definition at line 35 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by ilObjMDSettingsGUI\executeCommand().
const ilAdvancedMDSettingsGUI::CONTEXT_OBJECT = 2 |
Definition at line 36 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by ilObjectMetaDataGUI\executeCommand().
|
protected |
Definition at line 38 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 39 of file class.ilAdvancedMDSettingsGUI.php.