ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct ($a_qpl_obj, $a_mode="xml", $array_questions=null) | |
Constructor public. More... | |
getInstId () | |
buildExportFile () | |
build export file (complete zip file) More... | |
buildExportFileXML () | |
build xml export file More... | |
exportXHTMLMediaObjects ($a_export_dir) | |
Data Fields | |
$err | |
$db | |
$ilias | |
$qpl_obj | |
$questions | |
$inst_id | |
$mode | |
$lng | |
Protected Member Functions | |
buildExportFileXLS () | |
build xml export file More... | |
Private Attributes | |
string | $export_dir = '' |
string | $subdir = '' |
string | $filename = '' |
string | $zipfilename = '' |
ilXmlWriter | $xml |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Export class for questionpools
Definition at line 30 of file class.ilQuestionpoolExport.php.
ilQuestionpoolExport::__construct | ( | $a_qpl_obj, | |
$a_mode = "xml" , |
|||
$array_questions = null |
|||
) |
Constructor public.
Definition at line 54 of file class.ilQuestionpoolExport.php.
References $DIC, $ilDB, $ilErr, $ilias, $lng, ILIAS\LTI\ToolProvider\$settings, IL_INST_ID, and ILIAS\Repository\lng().
ilQuestionpoolExport::buildExportFile | ( | ) |
build export file (complete zip file)
Definition at line 113 of file class.ilQuestionpoolExport.php.
References buildExportFileXLS(), and buildExportFileXML().
|
protected |
build xml export file
Definition at line 217 of file class.ilQuestionpoolExport.php.
References ILIAS\LTI\ToolProvider\$created, $filename, $questions, ILIAS\LTI\ToolProvider\$updated, $zipfilename, IL_CAL_UNIX, ILIAS\Repository\lng(), and ilFileUtils\zip().
Referenced by buildExportFile().
ilQuestionpoolExport::buildExportFileXML | ( | ) |
build xml export file
Definition at line 127 of file class.ilQuestionpoolExport.php.
References $DIC, $inst_id, exportXHTMLMediaObjects(), ilFileUtils\makeDir(), ilFileUtils\makeDirParents(), and ilFileUtils\zip().
Referenced by buildExportFile().
ilQuestionpoolExport::exportXHTMLMediaObjects | ( | $a_export_dir | ) |
Definition at line 198 of file class.ilQuestionpoolExport.php.
References $mobs, ilObjMediaObject\_exists(), and ilObjMediaObject\_getMobsOfObject().
Referenced by buildExportFileXML().
ilQuestionpoolExport::getInstId | ( | ) |
ilQuestionpoolExport::$db |
Definition at line 33 of file class.ilQuestionpoolExport.php.
ilQuestionpoolExport::$err |
Definition at line 32 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 44 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 46 of file class.ilQuestionpoolExport.php.
Referenced by buildExportFileXLS().
ilQuestionpoolExport::$ilias |
Definition at line 34 of file class.ilQuestionpoolExport.php.
Referenced by __construct().
ilQuestionpoolExport::$inst_id |
Definition at line 40 of file class.ilQuestionpoolExport.php.
Referenced by buildExportFileXML(), and getInstId().
ilQuestionpoolExport::$lng |
Definition at line 42 of file class.ilQuestionpoolExport.php.
Referenced by __construct().
ilQuestionpoolExport::$mode |
Definition at line 41 of file class.ilQuestionpoolExport.php.
ilQuestionpoolExport::$qpl_obj |
Definition at line 38 of file class.ilQuestionpoolExport.php.
ilQuestionpoolExport::$questions |
Definition at line 39 of file class.ilQuestionpoolExport.php.
Referenced by buildExportFileXLS().
|
private |
Definition at line 45 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 48 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 47 of file class.ilQuestionpoolExport.php.
Referenced by buildExportFileXLS().