|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilCourseXMLParser:
Collaboration diagram for ilCourseXMLParser:Public Member Functions | |
| __construct (ilObjCourse $a_course_obj, string $a_xml_file='') | |
| startParsing () | |
| stores xml data in array More... | |
| setHandlers ($a_xml_parser) | |
| @inheritDoc More... | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| @inheritDoc More... | |
| __parseId ($a_id) | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| @inheritDoc More... | |
| handlerCharacterData ($a_xml_parser, string $a_data) | |
Public Member Functions inherited from ilMDSaxParser | |
| __construct (?string $a_xml_file='') | |
| enableMDParsing (bool $a_status) | |
| getMDParsingStatus () | |
| setMDObject (ilMD $md) | |
| getMDObject () | |
| inMetaData () | |
| setHandlers ($a_xml_parser) | |
| Set event handlers. More... | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| handlerCharacterData ($a_xml_parser, string $a_data) | |
| __getCharacterData () | |
| __pushParent (object $md_obj) | |
| __popParent () | |
| __getParent () | |
Public Member Functions inherited from ilSaxParser | |
| __construct (?string $path_to_file='', ?bool $throw_exception=false) | |
| setXMLContent (string $a_xml_content) | |
| getXMLContent () | |
| getInputType () | |
| startParsing () | |
| stores xml data in array More... | |
| createParser () | |
| setHandlers ($a_xml_parser) | |
| parse ($a_xml_parser, $a_fp=null) | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| Start element handler. More... | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| End element handler. More... | |
| handlerCharacterData ($a_xml_parser, string $a_name) | |
| Character data handler. More... | |
Private Member Functions | |
| handleAdmin (array $a_attribs, array $id_data) | |
| attach or detach admin from course member More... | |
| handleTutor (array $a_attribs, array $id_data) | |
| handleMember (array $a_attribs, array $id_data) | |
| attach or detach user/member/admin from course member More... | |
| handleSubscriber (array $a_attribs, array $id_data) | |
| attach or detach members from subscribers More... | |
| handleWaitingList (array $a_attribs, array $id_data) | |
| attach or detach members from waitinglist More... | |
Private Attributes | |
| bool | $in_meta_data = false |
| bool | $in_availability = false |
| bool | $in_registration = false |
| bool | $in_period = false |
| bool | $in_period_with_time = false |
| ilDateTime | $period_start = null |
| ilDateTime | $period_end = null |
| string | $cdata = '' |
| string | $current_container_setting = '' |
| ilObjCourse | $course_obj |
| ilLogger | $log |
Additional Inherited Members | |
Data Fields inherited from ilSaxParser | |
| string | $xml_file |
| bool | $throw_exception = false |
Protected Member Functions inherited from ilMDSaxParser | |
| trimAndStripAttribs (array $attribs) | |
| trimAndStrip (string $input) | |
Protected Member Functions inherited from ilSaxParser | |
| openXMLFile () | |
| handleError (string $message) | |
| setThrowException (bool $throw_exception) | |
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 Course XML Parser
Definition at line 26 of file class.ilCourseXMLParser.php.
| ilCourseXMLParser::__construct | ( | ilObjCourse | $a_course_obj, |
| string | $a_xml_file = '' |
||
| ) |
Definition at line 53 of file class.ilCourseXMLParser.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilCourseParticipants\_getInstanceByObjId(), and ilMDSaxParser\setMDObject().
Here is the call graph for this function:| ilCourseXMLParser::__parseId | ( | $a_id | ) |
Definition at line 311 of file class.ilCourseXMLParser.php.
References $id, ilObjUser\_getImportedUserId(), and ilObjUser\_lookupLogin().
Referenced by handlerBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
attach or detach admin from course member
Definition at line 340 of file class.ilCourseXMLParser.php.
References ilParticipants\IL_CRS_ADMIN.
Referenced by handlerBeginTag().
Here is the caller graph for this function:
|
private |
attach or detach user/member/admin from course member
Definition at line 420 of file class.ilCourseXMLParser.php.
References ilParticipants\IL_CRS_MEMBER.
Referenced by handlerBeginTag().
Here is the caller graph for this function:| ilCourseXMLParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
@inheritDoc
Reimplemented from ilMDSaxParser.
Definition at line 104 of file class.ilCourseXMLParser.php.
References __parseId(), ilContainerSortingSettings\_importContainerSortingSettings(), ilObject\_writeImportId(), ilContainerSortingSettings\getInstanceByObjId(), handleAdmin(), handleMember(), handleSubscriber(), handleTutor(), handleWaitingList(), ilCourseConstants\IL_CRS_SUBSCRIPTION_CONFIRMATION, ilCourseConstants\IL_CRS_SUBSCRIPTION_DEACTIVATED, ilCourseConstants\IL_CRS_SUBSCRIPTION_DIRECT, ilCourseConstants\IL_CRS_SUBSCRIPTION_LIMITED, ilCourseConstants\IL_CRS_SUBSCRIPTION_PASSWORD, ilCourseConstants\IL_CRS_SUBSCRIPTION_UNLIMITED, and ilMDSaxParser\trimAndStripAttribs().
Here is the call graph for this function:| ilCourseXMLParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
| resource | $a_xml_parser |
Reimplemented from ilMDSaxParser.
Definition at line 653 of file class.ilCourseXMLParser.php.
| ilCourseXMLParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
@inheritDoc
Reimplemented from ilMDSaxParser.
Definition at line 488 of file class.ilCourseXMLParser.php.
References Vendor\Package\$e, ilContainer\_writeContainerSetting(), IL_CAL_UNIX, and ilMDSaxParser\trimAndStrip().
Here is the call graph for this function:
|
private |
attach or detach members from subscribers
Definition at line 452 of file class.ilCourseXMLParser.php.
Referenced by handlerBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 379 of file class.ilCourseXMLParser.php.
References ilParticipants\IL_CRS_TUTOR.
Referenced by handlerBeginTag().
Here is the caller graph for this function:
|
private |
attach or detach members from waitinglist
Definition at line 470 of file class.ilCourseXMLParser.php.
Referenced by handlerBeginTag().
Here is the caller graph for this function:| ilCourseXMLParser::setHandlers | ( | $a_xml_parser | ) |
@inheritDoc
Reimplemented from ilMDSaxParser.
Definition at line 91 of file class.ilCourseXMLParser.php.
| ilCourseXMLParser::startParsing | ( | ) |
stores xml data in array
| ilSaxParserException |
Reimplemented from ilSaxParser.
Definition at line 71 of file class.ilCourseXMLParser.php.
References ilMDSaxParser\getMDObject().
Here is the call graph for this function:
|
protected |
Definition at line 50 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 37 of file class.ilCourseXMLParser.php.
|
protected |
Definition at line 48 of file class.ilCourseXMLParser.php.
|
protected |
Definition at line 51 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 40 of file class.ilCourseXMLParser.php.
|
protected |
Definition at line 49 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 39 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 29 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 28 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 31 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 32 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 30 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 41 of file class.ilCourseXMLParser.php.
|
protected |
Definition at line 46 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 35 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 34 of file class.ilCourseXMLParser.php.
|
protected |
Definition at line 47 of file class.ilCourseXMLParser.php.
|
protected |
Definition at line 42 of file class.ilCourseXMLParser.php.