ILIAS
Release_4_4_x_branch Revision 61816
|
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 18 of file class.ilAdvancedMDSettingsGUI.php.
ilAdvancedMDSettingsGUI::__construct | ( | ) |
ilAdvancedMDSettingsGUI::addValue | ( | ) |
add value
public
Definition at line 735 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 387 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editRecord(), and ilUtil\sendFailure().
ilAdvancedMDSettingsGUI::confirmDeleteFiles | ( | ) |
confirm delete files
public
Definition at line 233 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilUtil\sendFailure(), and showFiles().
ilAdvancedMDSettingsGUI::confirmDeleteRecords | ( | ) |
Confirm delete.
public
Definition at line 298 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDRecord\_getInstanceByRecordId(), ilUtil\sendFailure(), and showRecords().
ilAdvancedMDSettingsGUI::createField | ( | ) |
Show field type selection.
public
Definition at line 719 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), and initFieldForm().
Referenced by addValue(), and saveField().
ilAdvancedMDSettingsGUI::createRecord | ( | ) |
Show.
public
Definition at line 552 of file class.ilAdvancedMDSettingsGUI.php.
References initForm(), initImportForm(), and initRecordObject().
Referenced by importRecord(), and saveRecord().
ilAdvancedMDSettingsGUI::deleteFields | ( | ) |
delete fields
public
Definition at line 422 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editRecord(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilAdvancedMDSettingsGUI::deleteFiles | ( | ) |
Delete files.
public
Definition at line 272 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilUtil\sendFailure(), ilUtil\sendSuccess(), and showFiles().
ilAdvancedMDSettingsGUI::deleteRecords | ( | ) |
Permanently delete records.
public
Definition at line 331 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDRecord\_getInstanceByRecordId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showRecords().
ilAdvancedMDSettingsGUI::downloadFile | ( | ) |
Download XML file.
public
Definition at line 211 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilUtil\deliverFile(), ilUtil\sendFailure(), and showFiles().
ilAdvancedMDSettingsGUI::editField | ( | ) |
Edit field.
public
Definition at line 677 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 446 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 49 of file class.ilAdvancedMDSettingsGUI.php.
References $cmd, and setSubTabs().
ilAdvancedMDSettingsGUI::exportRecords | ( | ) |
Export records.
public
Definition at line 156 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilUtil\sendFailure(), ilUtil\sendSuccess(), showFiles(), and showRecords().
|
protected |
Get and cache record objects.
protected
Definition at line 1156 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDRecord\_getRecords().
Referenced by showRecords(), and updateRecords().
ilAdvancedMDSettingsGUI::importRecord | ( | ) |
import xml file
public
Definition at line 601 of file class.ilAdvancedMDSettingsGUI.php.
References createRecord(), initImportForm(), ilAdvancedMDRecordParser\MODE_INSERT, ilAdvancedMDRecordParser\MODE_INSERT_VALIDATION, ilUtil\sendFailure(), ilUtil\sendSuccess(), ilAdvancedMDRecordParser\setMode(), and showRecords().
|
protected |
init field form
protected
Definition at line 782 of file class.ilAdvancedMDSettingsGUI.php.
References $_SESSION, ilCheckboxInputGUI\setChecked(), ilTextInputGUI\setValue(), 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 873 of file class.ilAdvancedMDSettingsGUI.php.
References $section, $t, ilAdvancedMDRecord\_getAssignableObjectTypes(), ilCheckboxInputGUI\setChecked(), ilTextInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by createRecord(), and editRecord().
|
protected |
init form table 'substitutions'
protected
Definition at line 944 of file class.ilAdvancedMDSettingsGUI.php.
References $records, $section, 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 571 of file class.ilAdvancedMDSettingsGUI.php.
References $file.
Referenced by createRecord(), and importRecord().
|
protected |
Init record object.
protected
Definition at line 1113 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 1090 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, $_POST, $_SESSION, and ilUtil\stripSlashes().
Referenced by addValue(), saveField(), and updateField().
|
protected |
load record form data
protected
Definition at line 1065 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, $t, and ilUtil\stripSlashes().
Referenced by saveRecord(), and updateRecord().
ilAdvancedMDSettingsGUI::saveField | ( | ) |
create field
public
Definition at line 757 of file class.ilAdvancedMDSettingsGUI.php.
References $ilErr, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), createField(), editRecord(), loadFieldFormData(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilAdvancedMDSettingsGUI::saveRecord | ( | ) |
Save record.
public
Definition at line 653 of file class.ilAdvancedMDSettingsGUI.php.
References $ilErr, createRecord(), initRecordObject(), loadRecordFormData(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showRecords().
|
protected |
Set sub tabs.
protected
Definition at line 1131 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by executeCommand().
ilAdvancedMDSettingsGUI::showFiles | ( | ) |
show export files
public
Definition at line 183 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by confirmDeleteFiles(), deleteFiles(), downloadFile(), and exportRecords().
ilAdvancedMDSettingsGUI::showRecords | ( | ) |
show record list
public
Definition at line 73 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 693 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, $ilErr, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editField(), editRecord(), loadFieldFormData(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilAdvancedMDSettingsGUI::updateFields | ( | ) |
Update fields.
public
Definition at line 480 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, $_POST, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editRecord(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showRecords().
ilAdvancedMDSettingsGUI::updateRecord | ( | ) |
Update record.
public
Definition at line 519 of file class.ilAdvancedMDSettingsGUI.php.
References $_GET, $ilErr, editRecord(), initRecordObject(), loadRecordFormData(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showRecords().
ilAdvancedMDSettingsGUI::updateRecords | ( | ) |
Save records (assigned object typed)
public
Definition at line 356 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, $t, getRecordObjects(), ilUtil\sendSuccess(), showRecords(), and ilUtil\stripSlashes().
ilAdvancedMDSettingsGUI::updateSubstitutions | ( | ) |
Update substitution.
public
Definition at line 111 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDRecord\_getActivatedObjTypes(), ilAdvancedMDSubstitution\_getInstanceByObjectType(), ilUtil\sendSuccess(), and showRecords().
|
protected |
Definition at line 22 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 20 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 23 of file class.ilAdvancedMDSettingsGUI.php.
|
protected |
Definition at line 21 of file class.ilAdvancedMDSettingsGUI.php.
Referenced by __construct().