ILIAS
release_4-3 Revision
|
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 749 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 401 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editRecord(), and ilUtil\sendFailure().
ilAdvancedMDSettingsGUI::confirmDeleteFiles | ( | ) |
confirm delete files
public
Definition at line 257 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilUtil\sendFailure(), and showFiles().
ilAdvancedMDSettingsGUI::confirmDeleteRecords | ( | ) |
Confirm delete.
public
Definition at line 322 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDRecord\_getInstanceByRecordId(), ilUtil\sendFailure(), and showRecords().
ilAdvancedMDSettingsGUI::createField | ( | ) |
Show field type selection.
public
Definition at line 733 of file class.ilAdvancedMDSettingsGUI.php.
References ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), and initFieldForm().
Referenced by addValue(), and saveField().
ilAdvancedMDSettingsGUI::createRecord | ( | ) |
Show.
public
Definition at line 566 of file class.ilAdvancedMDSettingsGUI.php.
References initForm(), initImportForm(), and initRecordObject().
Referenced by importRecord(), and saveRecord().
ilAdvancedMDSettingsGUI::deleteFields | ( | ) |
delete fields
public
Definition at line 436 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), editRecord(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilAdvancedMDSettingsGUI::deleteFiles | ( | ) |
Delete files.
public
Definition at line 296 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilUtil\sendFailure(), ilUtil\sendSuccess(), and showFiles().
ilAdvancedMDSettingsGUI::deleteRecords | ( | ) |
Permanently delete records.
public
Definition at line 355 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDRecord\_getInstanceByRecordId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showRecords().
ilAdvancedMDSettingsGUI::downloadFile | ( | ) |
Download XML file.
public
Definition at line 235 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilUtil\deliverFile(), ilUtil\sendFailure(), and showFiles().
ilAdvancedMDSettingsGUI::editField | ( | ) |
Edit field.
public
Definition at line 691 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 460 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 180 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 615 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 796 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 887 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 956 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 585 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 1077 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, and ilUtil\stripSlashes().
Referenced by saveRecord(), and updateRecord().
ilAdvancedMDSettingsGUI::saveField | ( | ) |
create field
public
Definition at line 771 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 667 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 207 of file class.ilAdvancedMDSettingsGUI.php.
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 707 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 494 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 533 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 380 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, getRecordObjects(), ilUtil\sendSuccess(), and showRecords().
ilAdvancedMDSettingsGUI::updateSubstitutions | ( | ) |
Update substitution.
public
Definition at line 125 of file class.ilAdvancedMDSettingsGUI.php.
References $_POST, ilAdvancedMDRecord\_getActivatedObjTypes(), ilAdvancedMDSubstitution\_getInstanceByObjectType(), ilUtil\sendSuccess(), 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().