ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Export User Interface Class. More...
Public Member Functions | |
__construct ($a_parent_gui, $a_main_obj=null) | |
Constuctor. More... | |
addFormat ($a_key, $a_txt="", $a_call_obj=null, $a_call_func="") | |
Add formats. More... | |
getFormats () | |
Get formats. More... | |
addCustomColumn ($a_txt, $a_obj, $a_func) | |
Add custom column. More... | |
addCustomMultiCommand ($a_txt, $a_obj, $a_func) | |
Add custom multi command. More... | |
getCustomMultiCommands () | |
Get custom multi commands. More... | |
getCustomColumns () | |
Get custom columns. More... | |
executeCommand () | |
Execute command. More... | |
listExportFiles () | |
List export files. More... | |
createExportFile () | |
Create export file. More... | |
confirmDeletion () | |
Confirm file deletion. More... | |
delete () | |
Delete files. More... | |
download () | |
Download file. More... | |
handleCustomMultiCommand () | |
Handle custom multi command. More... | |
Protected Member Functions | |
buildExportTableGUI () | |
getParentGUI () | |
get parent gui More... | |
showItemSelection () | |
Show container item selection table. More... | |
saveItemSelection () | |
Save selection of subitems. More... | |
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 |
|||
) |
Constuctor.
Definition at line 28 of file class.ilExportGUI.php.
References $DIC, $lng, and $tpl.
ilExportGUI::addCustomColumn | ( | $a_txt, | |
$a_obj, | |||
$a_func | |||
) |
ilExportGUI::addCustomMultiCommand | ( | $a_txt, | |
$a_obj, | |||
$a_func | |||
) |
ilExportGUI::addFormat | ( | $a_key, | |
$a_txt = "" , |
|||
$a_call_obj = null , |
|||
$a_call_func = "" |
|||
) |
|
protected |
Definition at line 48 of file class.ilExportGUI.php.
References $table.
Referenced by listExportFiles().
ilExportGUI::confirmDeletion | ( | ) |
Confirm file deletion.
Definition at line 270 of file class.ilExportGUI.php.
References $_POST, $DIC, $filename, $i, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilExportGUI::createExportFile | ( | ) |
Create export file.
Definition at line 237 of file class.ilExportGUI.php.
References $_POST, $DIC, $f, $format, $ilCtrl, $lng, getFormats(), getParentGUI(), showItemSelection(), and ilUtil\stripSlashes().
Referenced by executeCommand().
ilExportGUI::delete | ( | ) |
Delete files.
Definition at line 306 of file class.ilExportGUI.php.
References $_POST, $DIC, $ilCtrl, $info, ilExport\_getExportDirectory(), and ilUtil\delDir().
ilExportGUI::download | ( | ) |
Download file.
Definition at line 344 of file class.ilExportGUI.php.
References $_GET, $DIC, $ilCtrl, $lng, ilExport\_getExportDirectory(), and ilUtil\deliverFile().
Referenced by ilTestExportGUI\listExportFiles().
ilExportGUI::executeCommand | ( | ) |
Execute command.
Definition at line 143 of file class.ilExportGUI.php.
References $DIC, $ilCtrl, $ilErr, $lng, createExportFile(), and handleCustomMultiCommand().
ilExportGUI::getCustomColumns | ( | ) |
Get custom columns.
Definition at line 132 of file class.ilExportGUI.php.
References $custom_columns.
Referenced by ilTestExportGUI\listExportFiles(), and listExportFiles().
ilExportGUI::getCustomMultiCommands | ( | ) |
Get custom multi commands.
Definition at line 121 of file class.ilExportGUI.php.
References $custom_multi_commands.
Referenced by handleCustomMultiCommand(), ilTestExportGUI\listExportFiles(), and listExportFiles().
ilExportGUI::getFormats | ( | ) |
Get formats.
Definition at line 87 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.
Definition at line 378 of file class.ilExportGUI.php.
References $_POST, $c, $DIC, $ilCtrl, and getCustomMultiCommands().
Referenced by executeCommand().
ilExportGUI::listExportFiles | ( | ) |
List export files.
Definition at line 184 of file class.ilExportGUI.php.
References $c, $DIC, $f, $format, $ilCtrl, $lng, PHPMailer\PHPMailer\$options, $si, $table, $tpl, buildExportTableGUI(), getCustomColumns(), getCustomMultiCommands(), getFormats(), and ilSubmitButton\getInstance().
|
protected |
Save selection of subitems.
Definition at line 415 of file class.ilExportGUI.php.
References $_POST, $DIC, $ilCtrl, $lng, $root, $tree, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), ilExportOptions\allocateExportId(), ilExportOptions\EXPORT_BUILD, ilExportOptions\EXPORT_OMIT, getParentGUI(), ilExportOptions\KEY_ITEM_MODE, ilExportOptions\KEY_ROOT, and ilExportOptions\newInstance().
|
protected |
Show container item selection table.
Definition at line 396 of file class.ilExportGUI.php.
References $DIC, $table, $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().