ILIAS
Release_5_0_x_branch Revision 61816
|
Export User Interface Class. More...
Public Member Functions | |
__construct ($a_parent_gui, $a_main_obj=null) | |
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 | |
buildExportTableGUI () | |
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, | |
$a_main_obj = null |
|||
) |
ilExportGUI::addCustomColumn | ( | $a_txt, | |
$a_obj, | |||
$a_func | |||
) |
Add custom column.
@return |
Definition at line 97 of file class.ilExportGUI.php.
ilExportGUI::addCustomMultiCommand | ( | $a_txt, | |
$a_obj, | |||
$a_func | |||
) |
Add custom multi command.
@return |
Definition at line 110 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 69 of file class.ilExportGUI.php.
References $lng.
|
protected |
Reimplemented in ilTestExportGUI, and ilQuestionPoolExportGUI.
Definition at line 48 of file class.ilExportGUI.php.
Referenced by listExportFiles().
ilExportGUI::confirmDeletion | ( | ) |
Confirm file deletion.
Definition at line 280 of file class.ilExportGUI.php.
References $_POST, $filename, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilExportGUI::createExportFile | ( | ) |
Create export file.
@return |
Definition at line 240 of file class.ilExportGUI.php.
References $_POST, $ilCtrl, $lng, getFormats(), getParentGUI(), ilUtil\sendSuccess(), showItemSelection(), and ilUtil\stripSlashes().
Referenced by executeCommand().
ilExportGUI::delete | ( | ) |
Delete files.
Definition at line 319 of file class.ilExportGUI.php.
References $_POST, $file, $ilCtrl, ilExport\_getExportDirectory(), ilUtil\delDir(), and ilExportFileInfo\delete().
ilExportGUI::download | ( | ) |
Download file.
Reimplemented in ilQuestionPoolExportGUI.
Definition at line 355 of file class.ilExportGUI.php.
References $_GET, $file, $ilCtrl, $lng, ilExport\_getExportDirectory(), and ilUtil\deliverFile().
ilExportGUI::executeCommand | ( | ) |
Execute command.
@return |
Definition at line 142 of file class.ilExportGUI.php.
References $cmd, $ilCtrl, $ilErr, $lng, createExportFile(), and handleCustomMultiCommand().
ilExportGUI::getCustomColumns | ( | ) |
Get custom columns.
@return |
Definition at line 131 of file class.ilExportGUI.php.
References $custom_columns.
Referenced by ilTestExportGUI\listExportFiles(), and listExportFiles().
ilExportGUI::getCustomMultiCommands | ( | ) |
Get custom multi commands.
Definition at line 120 of file class.ilExportGUI.php.
References $custom_multi_commands.
Referenced by handleCustomMultiCommand(), ilTestExportGUI\listExportFiles(), and listExportFiles().
ilExportGUI::getFormats | ( | ) |
Get formats.
Definition at line 86 of file class.ilExportGUI.php.
References $formats.
Referenced by createExportFile(), ilTestExportGUI\listExportFiles(), and listExportFiles().
|
protected |
get parent gui
Definition at line 59 of file class.ilExportGUI.php.
References $parent_gui.
Referenced by createExportFile(), ilTestExportGUI\listExportFiles(), saveItemSelection(), and showItemSelection().
ilExportGUI::handleCustomMultiCommand | ( | ) |
Handle custom multi command.
@return |
Definition at line 382 of file class.ilExportGUI.php.
References $_POST, $cmd, $ilCtrl, and getCustomMultiCommands().
Referenced by executeCommand().
ilExportGUI::listExportFiles | ( | ) |
List export files.
@return |
Reimplemented in ilTestExportGUI.
Definition at line 186 of file class.ilExportGUI.php.
References $ilCtrl, $lng, $options, $si, $tpl, buildExportTableGUI(), getCustomColumns(), getCustomMultiCommands(), getFormats(), and ilSubmitButton\getInstance().
|
protected |
Save selection of subitems.
Definition at line 417 of file class.ilExportGUI.php.
References $_POST, $ilCtrl, $lng, $ref_id, 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 400 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().