ILIAS
Release_4_4_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 | |
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 87 of file class.ilExportGUI.php.
ilExportGUI::addCustomMultiCommand | ( | $a_txt, | |
$a_obj, | |||
$a_func | |||
) |
Add custom multi command.
@return |
Definition at line 100 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 59 of file class.ilExportGUI.php.
References $lng.
ilExportGUI::confirmDeletion | ( | ) |
Confirm file deletion.
Definition at line 262 of file class.ilExportGUI.php.
References $_POST, $filename, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilExportGUI::createExportFile | ( | ) |
Create export file.
@return |
Definition at line 222 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 301 of file class.ilExportGUI.php.
References $_POST, $file, $ilCtrl, ilExport\_getExportDirectory(), ilUtil\delDir(), and ilExportFileInfo\delete().
ilExportGUI::download | ( | ) |
Download file.
Definition at line 337 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 132 of file class.ilExportGUI.php.
References $cmd, $ilCtrl, $ilErr, $lng, createExportFile(), and handleCustomMultiCommand().
ilExportGUI::getCustomColumns | ( | ) |
Get custom columns.
@return |
Definition at line 121 of file class.ilExportGUI.php.
References $custom_columns.
Referenced by ilTestExportGUI\listExportFiles(), and listExportFiles().
ilExportGUI::getCustomMultiCommands | ( | ) |
Get custom multi commands.
Definition at line 110 of file class.ilExportGUI.php.
References $custom_multi_commands.
Referenced by handleCustomMultiCommand(), ilTestExportGUI\listExportFiles(), and listExportFiles().
ilExportGUI::getFormats | ( | ) |
Get formats.
Definition at line 76 of file class.ilExportGUI.php.
References $formats.
Referenced by createExportFile(), ilTestExportGUI\listExportFiles(), and listExportFiles().
|
protected |
get parent gui
Definition at line 49 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 370 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 176 of file class.ilExportGUI.php.
References $ilCtrl, $lng, $options, $si, $tpl, getCustomColumns(), getCustomMultiCommands(), and getFormats().
|
protected |
Save selection of subitems.
Definition at line 405 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 388 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().