|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilLOXmlWriter. More...
Collaboration diagram for ilLOXmlParser: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 |
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().
Here is the call graph for this function:
|
protected |
Definition at line 55 of file class.ilLOXmlParser.php.
References $course.
Referenced by parseObjectives(), parseSettings(), and parseTests().
Here is the caller graph for this function:| ilLOXmlParser::getMapping | ( | ) |
Definition at line 50 of file class.ilLOXmlParser.php.
References $mapping.
Referenced by getMappingForQpls(), getMappingForQuestion(), getMappingInfoForItem(), getMappingInfoForItemObject(), parseMaterials(), parseObjectDependencies(), and parseObjectives().
Here is the caller graph for this function:
|
protected |
Definition at line 289 of file class.ilLOXmlParser.php.
References getMapping().
Referenced by parseTests().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 282 of file class.ilLOXmlParser.php.
References getMapping(), and ILIAS\Repository\logger().
Referenced by parseTests().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 268 of file class.ilLOXmlParser.php.
References getMapping(), and ILIAS\Repository\logger().
Referenced by parseMaterials(), parseSettings(), and parseTests().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 275 of file class.ilLOXmlParser.php.
References getMapping(), and ILIAS\Repository\logger().
Referenced by parseTests().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOXmlParser::parse | ( | ) |
Definition at line 60 of file class.ilLOXmlParser.php.
References ILIAS\Repository\logger(), parseObjectives(), parseSettings(), and parseXmlErrors().
Here is the call graph for this function:
|
protected |
Definition at line 155 of file class.ilLOXmlParser.php.
References ilObject\_lookupObjId(), getMapping(), and getMappingInfoForItem().
Referenced by parseObjectDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
protected |
Parse objective.
Definition at line 130 of file class.ilLOXmlParser.php.
References getCourse(), and getMapping().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 102 of file class.ilLOXmlParser.php.
References getCourse(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), getMappingInfoForItem(), and ILIAS\Repository\logger().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 204 of file class.ilLOXmlParser.php.
References ilObject\_lookupObjId(), getCourse(), ILIAS\Survey\Mode\getId(), getMappingForQpls(), getMappingForQuestion(), getMappingInfoForItem(), getMappingInfoForItemObject(), ILIAS\Repository\int(), and ILIAS\Repository\logger().
Referenced by parseObjectDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Parse xml errors from libxml_get_errors.
Definition at line 301 of file class.ilLOXmlParser.php.
Referenced by parse(), and parseObjectDependencies().
Here is the caller graph for this function:| ilLOXmlParser::setMapping | ( | ilImportMapping | $mapping | ) |
Definition at line 45 of file class.ilLOXmlParser.php.
References $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.