ILIAS
eassessment Revision 61809
|
Export User Interface Class. More...
Public Member Functions | |
__construct ($a_parent_gui) | |
Constuctor. | |
addFormat ($a_key, $a_txt="", $a_call_obj=null, $a_call_func="") | |
Add formats. | |
getFormats () | |
Get formats. | |
addCustomColumn ($a_txt, $a_obj, $a_func) | |
Add custom column. | |
addCustomMultiCommand ($a_txt, $a_obj, $a_func) | |
Add custom multi command. | |
getCustomMultiCommands () | |
Get custom multi commands. | |
getCustomColumns () | |
Get custom columns. | |
executeCommand () | |
Execute command. | |
listExportFiles () | |
List export files. | |
createExportFile () | |
Create export file. | |
confirmDeletion () | |
Confirm file deletion. | |
delete () | |
Delete files. | |
download () | |
Download file. | |
handleCustomMultiCommand () | |
Handle custom multi command. |
Protected Member Functions | |
getParentGUI () | |
get parent gui | |
showItemSelection () | |
Show container item selection table. | |
saveItemSelection () | |
Save selection of subitems. |
Protected Attributes | |
$formats = array() | |
$custom_columns = array() | |
$custom_multi_commands = array() |
Private Attributes | |
$parent_gui = null |
ilExportGUI::__construct | ( | $a_parent_gui | ) |
ilExportGUI::addCustomColumn | ( | $a_txt, | |
$a_obj, | |||
$a_func | |||
) |
Add custom column.
@return |
Definition at line 80 of file class.ilExportGUI.php.
ilExportGUI::addCustomMultiCommand | ( | $a_txt, | |
$a_obj, | |||
$a_func | |||
) |
Add custom multi command.
@return |
Definition at line 93 of file class.ilExportGUI.php.
ilExportGUI::addFormat | ( | $a_key, | |
$a_txt = "" , |
|||
$a_call_obj = null , |
|||
$a_call_func = "" |
|||
) |
Add formats.
array | formats |
Definition at line 52 of file class.ilExportGUI.php.
References $lng.
ilExportGUI::confirmDeletion | ( | ) |
Confirm file deletion.
Definition at line 245 of file class.ilExportGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilExportGUI::createExportFile | ( | ) |
Create export file.
@return |
Definition at line 207 of file class.ilExportGUI.php.
References $_POST, $f, $ilCtrl, getFormats(), getParentGUI(), showItemSelection(), and ilUtil\stripSlashes().
Referenced by executeCommand().
ilExportGUI::delete | ( | ) |
Delete files.
Definition at line 276 of file class.ilExportGUI.php.
References $_POST, $file, $ilCtrl, ilExport\_getExportDirectory(), ilUtil\delDir(), and ilExportFileInfo\delete().
ilExportGUI::download | ( | ) |
Download file.
Definition at line 310 of file class.ilExportGUI.php.
References $_POST, $file, $ilCtrl, $lng, ilExport\_getExportDirectory(), ilUtil\deliverFile(), and ilUtil\sendFailure().
ilExportGUI::executeCommand | ( | ) |
Execute command.
@return |
Definition at line 125 of file class.ilExportGUI.php.
References $cmd, $ilCtrl, createExportFile(), and handleCustomMultiCommand().
ilExportGUI::getCustomColumns | ( | ) |
Get custom columns.
@return |
Definition at line 114 of file class.ilExportGUI.php.
References $custom_columns.
Referenced by listExportFiles().
ilExportGUI::getCustomMultiCommands | ( | ) |
Get custom multi commands.
Definition at line 103 of file class.ilExportGUI.php.
References $custom_multi_commands.
Referenced by handleCustomMultiCommand(), and listExportFiles().
ilExportGUI::getFormats | ( | ) |
Get formats.
Definition at line 69 of file class.ilExportGUI.php.
References $formats.
Referenced by createExportFile(), and listExportFiles().
|
protected |
get parent gui
Definition at line 42 of file class.ilExportGUI.php.
References $parent_gui.
Referenced by createExportFile(), saveItemSelection(), and showItemSelection().
ilExportGUI::handleCustomMultiCommand | ( | ) |
Handle custom multi command.
@return |
Definition at line 340 of file class.ilExportGUI.php.
References $_POST, $cmd, $ilCtrl, and getCustomMultiCommands().
Referenced by executeCommand().
ilExportGUI::listExportFiles | ( | ) |
List export files.
@return |
Definition at line 160 of file class.ilExportGUI.php.
References $f, $ilCtrl, $lng, $tpl, getCustomColumns(), getCustomMultiCommands(), getFormats(), and ilSelectInputGUI\setOptions().
|
protected |
Save selection of subitems.
Definition at line 375 of file class.ilExportGUI.php.
References $_POST, $ilCtrl, $lng, $ref_id, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), ilExportOptions\allocateExportId(), ilExportOptions\EXPORT_BUILD, ilExportOptions\EXPORT_OMIT, getParentGUI(), ilExportOptions\KEY_ITEM_MODE, ilExportOptions\KEY_ROOT, ilExportOptions\newInstance(), and ilUtil\sendSuccess().
|
protected |
Show container item selection table.
Definition at line 358 of file class.ilExportGUI.php.
References $tpl, and getParentGUI().
Referenced by createExportFile().
|
protected |
Definition at line 17 of file class.ilExportGUI.php.
Referenced by getCustomColumns().
|
protected |
Definition at line 18 of file class.ilExportGUI.php.
Referenced by getCustomMultiCommands().
|
protected |
Definition at line 16 of file class.ilExportGUI.php.
Referenced by getFormats().
|
private |
Definition at line 20 of file class.ilExportGUI.php.
Referenced by getParentGUI().