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 (ilObjCourse $course, string $a_xml) | |
setMapping (ilImportMapping $mapping) | |
getMapping () | |
parse () | |
parseObjectDependencies () | |
Parse object dependencies (assigned strucure objects, page objects, fixed questions) More... | |
Data Fields | |
const | TYPE_TST_PO = 1 |
const | TYPE_TST_ALL = 2 |
const | TYPE_TST_RND = 3 |
Protected Member Functions | |
getCourse () | |
parseSettings (SimpleXMLElement $root) | |
parseObjectives (SimpleXMLElement $root) | |
Parse objective. More... | |
parseMaterials (SimpleXMLElement $obj, int $a_objective_id) | |
parseTests (SimpleXMLElement $obj, int $a_objective_id) | |
getMappingInfoForItem (int $a_ref_id) | |
getMappingInfoForItemObject (int $a_obj_id) | |
getMappingForQuestion (int $qid) | |
getMappingForQpls (int $a_id) | |
parseXmlErrors () | |
Parse xml errors from libxml_get_errors. More... | |
Private Attributes | |
string | $xml = '' |
ilObjCourse | $course |
ilImportMapping | $mapping = null |
ilLogger | $logger |
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 Class ilLOXmlWriter
Definition at line 24 of file class.ilLOXmlParser.php.
ilLOXmlParser::__construct | ( | ilObjCourse | $course, |
string | $a_xml | ||
) |
Definition at line 36 of file class.ilLOXmlParser.php.
References $course, $DIC, and ILIAS\Repository\logger().
|
protected |
Definition at line 55 of file class.ilLOXmlParser.php.
References $course.
Referenced by parseObjectives(), parseSettings(), and parseTests().
ilLOXmlParser::getMapping | ( | ) |
Definition at line 50 of file class.ilLOXmlParser.php.
References $mapping.
Referenced by getMappingForQpls(), getMappingForQuestion(), getMappingInfoForItem(), getMappingInfoForItemObject(), parseMaterials(), parseObjectDependencies(), and parseObjectives().
|
protected |
Definition at line 289 of file class.ilLOXmlParser.php.
References getMapping().
Referenced by parseTests().
|
protected |
Definition at line 282 of file class.ilLOXmlParser.php.
References getMapping(), and ILIAS\Repository\logger().
Referenced by parseTests().
|
protected |
Definition at line 268 of file class.ilLOXmlParser.php.
References getMapping(), and ILIAS\Repository\logger().
Referenced by parseMaterials(), parseSettings(), and parseTests().
|
protected |
Definition at line 275 of file class.ilLOXmlParser.php.
References getMapping(), and ILIAS\Repository\logger().
Referenced by parseTests().
ilLOXmlParser::parse | ( | ) |
Definition at line 60 of file class.ilLOXmlParser.php.
References ILIAS\Repository\logger(), parseObjectives(), parseSettings(), and parseXmlErrors().
|
protected |
Definition at line 155 of file class.ilLOXmlParser.php.
References ilObject\_lookupObjId(), getMapping(), and getMappingInfoForItem().
Referenced by parseObjectDependencies().
ilLOXmlParser::parseObjectDependencies | ( | ) |
Parse object dependencies (assigned strucure objects, page objects, fixed questions)
Definition at line 78 of file class.ilLOXmlParser.php.
References getMapping(), ILIAS\Repository\logger(), parseMaterials(), parseTests(), and parseXmlErrors().
|
protected |
Parse objective.
Definition at line 130 of file class.ilLOXmlParser.php.
References getCourse(), and getMapping().
Referenced by parse().
|
protected |
Definition at line 102 of file class.ilLOXmlParser.php.
References ILIAS\LTI\ToolProvider\$settings, getCourse(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getMappingInfoForItem(), and ILIAS\Repository\logger().
Referenced by parse().
|
protected |
Definition at line 204 of file class.ilLOXmlParser.php.
References $type, ilObject\_lookupObjId(), getCourse(), ILIAS\Survey\Mode\getId(), getMappingForQpls(), getMappingForQuestion(), getMappingInfoForItem(), getMappingInfoForItemObject(), ILIAS\Repository\int(), ILIAS\Repository\logger(), and ilLORandomTestQuestionPools\setTestId().
Referenced by parseObjectDependencies().
|
protected |
Parse xml errors from libxml_get_errors.
Definition at line 301 of file class.ilLOXmlParser.php.
References $errors.
Referenced by parse(), and parseObjectDependencies().
ilLOXmlParser::setMapping | ( | ilImportMapping | $mapping | ) |
|
private |
Definition at line 31 of file class.ilLOXmlParser.php.
Referenced by __construct(), and getCourse().
|
private |
Definition at line 34 of file class.ilLOXmlParser.php.
|
private |
Definition at line 32 of file class.ilLOXmlParser.php.
Referenced by getMapping(), and setMapping().
|
private |
Definition at line 30 of file class.ilLOXmlParser.php.
const ilLOXmlParser::TYPE_TST_ALL = 2 |
Definition at line 27 of file class.ilLOXmlParser.php.
const ilLOXmlParser::TYPE_TST_PO = 1 |
Definition at line 26 of file class.ilLOXmlParser.php.
const ilLOXmlParser::TYPE_TST_RND = 3 |
Definition at line 28 of file class.ilLOXmlParser.php.