ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
__construct () | |
Constructor. | |
executeCommand () | |
Execute command. | |
showRecords () | |
show record list | |
updateSubstitutions () | |
Update substitution. | |
exportRecords () | |
Export records. | |
showFiles () | |
show export files | |
downloadFile () | |
Download XML file. | |
confirmDeleteFiles () | |
confirm delete files | |
deleteFiles () | |
Delete files. | |
confirmDeleteRecords () | |
Confirm delete. | |
deleteRecords () | |
Permanently delete records. | |
updateRecords () | |
Save records (assigned object typed) | |
confirmDeleteFields () | |
show delete fields confirmation screen | |
deleteFields () | |
delete fields | |
editRecord () | |
Edit one record. | |
updateFields () | |
Update fields. | |
updateRecord () | |
Update record. | |
createRecord () | |
Show. | |
importRecord () | |
import xml file | |
saveRecord () | |
Save record. | |
editField () | |
Edit field. | |
updateField () | |
Update field. | |
createField () | |
Show field type selection. | |
addValue () | |
add value | |
saveField () | |
create field |
Protected Member Functions | |
initImportForm () | |
show import form | |
initFieldForm ($a_mode) | |
init field form | |
initForm ($a_mode) | |
Init Form. | |
initFormSubstitutions () | |
init form table 'substitutions' | |
loadRecordFormData () | |
load record form data | |
loadFieldFormData () | |
load field definition from form data | |
initRecordObject () | |
Init record object. | |
setSubTabs () | |
Set sub tabs. | |
getRecordObjects () | |
Get and cache record objects. |
Protected Attributes | |
$lng | |
$tpl | |
$ctrl | |
$tabs |
Definition at line 37 of file class.ilAdvancedMDSettingsGUI.php.
ilAdvancedMDSettingsGUI::__construct | ( | ) |
ilAdvancedMDSettingsGUI::addValue | ( | ) |
add value
public
Definition at line 745 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, $_SESSION, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), createField(), editField(), and loadFieldFormData().
ilAdvancedMDSettingsGUI::confirmDeleteFields | ( | ) |
show delete fields confirmation screen
public
Definition at line 397 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editRecord(), and ilUtil\sendInfo().
ilAdvancedMDSettingsGUI::confirmDeleteFiles | ( | ) |
confirm delete files
public
Definition at line 253 of file class.ilAdvancedMDSettingsGUI.php.
References $files, ilUtil\sendInfo(), and showFiles().
ilAdvancedMDSettingsGUI::confirmDeleteRecords | ( | ) |
Confirm delete.
public
Definition at line 318 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecord\_getInstanceByRecordId(), ilUtil\sendInfo(), and showRecords().
ilAdvancedMDSettingsGUI::createField | ( | ) |
Show field type selection.
public
Definition at line 729 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), and initFieldForm().
Referenced by addValue(), and saveField().
ilAdvancedMDSettingsGUI::createRecord | ( | ) |
Show.
public
Definition at line 562 of file class.ilAdvancedMDSettingsGUI.php.
References initForm(), initImportForm(), and initRecordObject().
Referenced by importRecord(), and saveRecord().
ilAdvancedMDSettingsGUI::deleteFields | ( | ) |
delete fields
public
Definition at line 432 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editRecord(), and ilUtil\sendInfo().
ilAdvancedMDSettingsGUI::deleteFiles | ( | ) |
Delete files.
public
Definition at line 292 of file class.ilAdvancedMDSettingsGUI.php.
References $files, ilUtil\sendInfo(), and showFiles().
ilAdvancedMDSettingsGUI::deleteRecords | ( | ) |
Permanently delete records.
public
Definition at line 351 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecord\_getInstanceByRecordId(), ilUtil\sendInfo(), and showRecords().
ilAdvancedMDSettingsGUI::downloadFile | ( | ) |
Download XML file.
public
Definition at line 231 of file class.ilAdvancedMDSettingsGUI.php.
References $files, ilUtil\deliverFile(), ilUtil\sendInfo(), and showFiles().
ilAdvancedMDSettingsGUI::editField | ( | ) |
Edit field.
public
Definition at line 687 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), and initFieldForm().
Referenced by addValue(), and updateField().
ilAdvancedMDSettingsGUI::editRecord | ( | ) |
Edit one record.
public
Definition at line 456 of file class.ilAdvancedMDSettingsGUI.php.
References $_SESSION, ilAdvancedMDFieldDefinition\_getDefinitionsByRecordId(), initForm(), and initRecordObject().
Referenced by confirmDeleteFields(), deleteFields(), saveField(), updateField(), updateFields(), and updateRecord().
ilAdvancedMDSettingsGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 68 of file class.ilAdvancedMDSettingsGUI.php.
References $cmd, and setSubTabs().
ilAdvancedMDSettingsGUI::exportRecords | ( | ) |
Export records.
public
Definition at line 176 of file class.ilAdvancedMDSettingsGUI.php.
References ilUtil\sendInfo(), showFiles(), and showRecords().
|
protected |
Get and cache record objects.
protected
Definition at line 1152 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecord\_getRecords().
Referenced by showRecords(), and updateRecords().
ilAdvancedMDSettingsGUI::importRecord | ( | ) |
import xml file
public
Definition at line 611 of file class.ilAdvancedMDSettingsGUI.php.
References createRecord(), initImportForm(), ilAdvancedMDRecordParser\MODE_INSERT, ilAdvancedMDRecordParser\MODE_INSERT_VALIDATION, ilUtil\sendInfo(), ilAdvancedMDRecordParser\setMode(), and showRecords().
|
protected |
init field form
protected
Definition at line 792 of file class.ilAdvancedMDSettingsGUI.php.
References $_SESSION, $title, ilCheckboxInputGUI\setChecked(), ilRadioGroupInputGUI\setValue(), ilTextAreaInputGUI\setValue(), ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
Referenced by createField(), and editField().
|
protected |
Init Form.
protected
Definition at line 883 of file class.ilAdvancedMDSettingsGUI.php.
References $section, $title, ilAdvancedMDRecord\_getAssignableObjectTypes(), ilCheckboxInputGUI\setChecked(), and ilTextAreaInputGUI\setValue().
Referenced by createRecord(), and editRecord().
|
protected |
init form table 'substitutions'
protected
Definition at line 952 of file class.ilAdvancedMDSettingsGUI.php.
References $section, $title, ilAdvancedMDFieldDefinition\_getActiveDefinitionsByObjType(), ilAdvancedMDRecord\_getAllRecordsByObjectType(), ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), ilAdvancedMDSubstitution\_getInstanceByObjectType(), ilAdvancedMDRecord\_lookupTitle(), ilUtil\getImagePath(), and ilCheckboxInputGUI\setValue().
Referenced by showRecords().
|
protected |
show import form
protected
Definition at line 581 of file class.ilAdvancedMDSettingsGUI.php.
References $file.
Referenced by createRecord(), and importRecord().
|
protected |
Init record object.
protected
Definition at line 1109 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, and ilAdvancedMDRecord\_getInstanceByRecordId().
Referenced by createRecord(), editRecord(), saveRecord(), and updateRecord().
|
protected |
load field definition from form data
protected
Definition at line 1086 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, $_SESSION, and ilUtil\stripSlashes().
Referenced by addValue(), saveField(), and updateField().
|
protected |
load record form data
protected
Definition at line 1073 of file class.ilAdvancedMDSettingsGUI.php.
References ilUtil\stripSlashes().
Referenced by saveRecord(), and updateRecord().
ilAdvancedMDSettingsGUI::saveField | ( | ) |
create field
public
Definition at line 767 of file class.ilAdvancedMDSettingsGUI.php.
References $ilErr, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), createField(), editRecord(), loadFieldFormData(), and ilUtil\sendInfo().
ilAdvancedMDSettingsGUI::saveRecord | ( | ) |
Save record.
public
Definition at line 663 of file class.ilAdvancedMDSettingsGUI.php.
References $ilErr, createRecord(), initRecordObject(), loadRecordFormData(), ilUtil\sendInfo(), and showRecords().
|
protected |
Set sub tabs.
protected
Definition at line 1127 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by executeCommand().
ilAdvancedMDSettingsGUI::showFiles | ( | ) |
show export files
public
Definition at line 203 of file class.ilAdvancedMDSettingsGUI.php.
References $files.
Referenced by confirmDeleteFiles(), deleteFiles(), downloadFile(), and exportRecords().
ilAdvancedMDSettingsGUI::showRecords | ( | ) |
show record list
public
Definition at line 92 of file class.ilAdvancedMDSettingsGUI.php.
References getRecordObjects(), and initFormSubstitutions().
Referenced by confirmDeleteRecords(), deleteRecords(), exportRecords(), importRecord(), saveRecord(), updateFields(), updateRecord(), updateRecords(), and updateSubstitutions().
ilAdvancedMDSettingsGUI::updateField | ( | ) |
Update field.
public
Definition at line 703 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, $ilErr, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editField(), editRecord(), loadFieldFormData(), and ilUtil\sendInfo().
ilAdvancedMDSettingsGUI::updateFields | ( | ) |
Update fields.
public
Definition at line 490 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editRecord(), ilUtil\sendInfo(), and showRecords().
ilAdvancedMDSettingsGUI::updateRecord | ( | ) |
Update record.
public
Definition at line 529 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, $ilErr, editRecord(), initRecordObject(), loadRecordFormData(), ilUtil\sendInfo(), and showRecords().
ilAdvancedMDSettingsGUI::updateRecords | ( | ) |
Save records (assigned object typed)
public
Definition at line 376 of file class.ilAdvancedMDSettingsGUI.php.
References getRecordObjects(), ilUtil\sendInfo(), and showRecords().
ilAdvancedMDSettingsGUI::updateSubstitutions | ( | ) |
Update substitution.
public
Definition at line 125 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecord\_getActivatedObjTypes(), ilAdvancedMDSubstitution\_getInstanceByObjectType(), ilUtil\sendInfo(), and showRecords().
|
protected |
Definition at line 41 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 39 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 42 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 40 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by __construct().