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 $a_course_obj, string $a_xml_file='') | |
startParsing () | |
setHandlers ($a_xml_parser) | |
handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
__parseId ($a_id) | |
handlerEndTag ($a_xml_parser, string $a_name) | |
handlerCharacterData ($a_xml_parser, string $a_data) | |
Character data handler. More... | |
![]() | |
__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 () | |
![]() | |
__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) | |
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 | |
![]() | |
string | $xml_file |
bool | $throw_exception = false |
![]() | |
trimAndStripAttribs (array $attribs) | |
trimAndStrip (string $input) | |
![]() | |
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().
ilCourseXMLParser::__parseId | ( | $a_id | ) |
Definition at line 311 of file class.ilCourseXMLParser.php.
References $id, ilObjUser\_getImportedUserId(), and ilObjUser\_lookupLogin().
Referenced by handlerBeginTag().
|
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().
|
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().
ilCourseXMLParser::handlerBeginTag | ( | $a_xml_parser, | |
string | $a_name, | ||
array | $a_attribs | ||
) |
Implements ilSaxSubsetParser.
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().
ilCourseXMLParser::handlerCharacterData | ( | $a_xml_parser, | |
string | $a_name | ||
) |
Character data handler.
resource | $a_xml_parser | xml parser |
Implements ilSaxSubsetParser.
Definition at line 653 of file class.ilCourseXMLParser.php.
ilCourseXMLParser::handlerEndTag | ( | $a_xml_parser, | |
string | $a_name | ||
) |
Implements ilSaxSubsetParser.
Definition at line 488 of file class.ilCourseXMLParser.php.
References $cdata, $current_container_setting, Vendor\Package\$e, ilContainer\_writeContainerSetting(), IL_CAL_UNIX, and ilMDSaxParser\trimAndStrip().
|
private |
attach or detach members from subscribers
Definition at line 452 of file class.ilCourseXMLParser.php.
Referenced by handlerBeginTag().
|
private |
Definition at line 379 of file class.ilCourseXMLParser.php.
References ilParticipants\IL_CRS_TUTOR.
Referenced by handlerBeginTag().
|
private |
attach or detach members from waitinglist
Definition at line 470 of file class.ilCourseXMLParser.php.
Referenced by handlerBeginTag().
ilCourseXMLParser::setHandlers | ( | $a_xml_parser | ) |
Definition at line 91 of file class.ilCourseXMLParser.php.
ilCourseXMLParser::startParsing | ( | ) |
Definition at line 71 of file class.ilCourseXMLParser.php.
References ilMDSaxParser\getMDObject().
|
protected |
Definition at line 50 of file class.ilCourseXMLParser.php.
|
private |
Definition at line 37 of file class.ilCourseXMLParser.php.
Referenced by handlerEndTag().
|
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.
Referenced by handlerEndTag().
|
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.