ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
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 (protected ilObjQuestionPool $qpl_obj, protected string $mode="xml", protected ?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 | |
ilErrorHandling | $err |
ilDBInterface | $db |
ILIAS | $ilias |
string | $inst_id |
ilLanguage | $lng |
Private Attributes | |
string | $export_dir = '' |
string | $subdir = '' |
string | $filename = '' |
string | $zipfilename = '' |
string | $qti_filename = '' |
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 28 of file class.ilQuestionpoolExport.php.
ilQuestionpoolExport::__construct | ( | protected ilObjQuestionPool | $qpl_obj, |
protected string | $mode = "xml" , |
||
protected ?array | $questions = null |
||
) |
Constructor public.
Definition at line 47 of file class.ilQuestionpoolExport.php.
References $DIC, IL_INST_ID, and ILIAS\Repository\lng().
ilQuestionpoolExport::buildExportFile | ( | ) |
build export file (complete zip file)
Definition at line 102 of file class.ilQuestionpoolExport.php.
References buildExportFileXML().
ilQuestionpoolExport::buildExportFileXML | ( | ) |
build xml export file
Definition at line 116 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 173 of file class.ilQuestionpoolExport.php.
References ilObjMediaObject\_exists(), and ilObjMediaObject\_getMobsOfObject().
Referenced by buildExportFileXML().
ilQuestionpoolExport::getInstId | ( | ) |
ilDBInterface ilQuestionpoolExport::$db |
Definition at line 31 of file class.ilQuestionpoolExport.php.
ilErrorHandling ilQuestionpoolExport::$err |
Definition at line 30 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 36 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 38 of file class.ilQuestionpoolExport.php.
ILIAS ilQuestionpoolExport::$ilias |
Definition at line 32 of file class.ilQuestionpoolExport.php.
string ilQuestionpoolExport::$inst_id |
Definition at line 33 of file class.ilQuestionpoolExport.php.
Referenced by buildExportFileXML(), and getInstId().
ilLanguage ilQuestionpoolExport::$lng |
Definition at line 34 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 40 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 37 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 41 of file class.ilQuestionpoolExport.php.
|
private |
Definition at line 39 of file class.ilQuestionpoolExport.php.