| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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='') | |
| setMode (int $a_mode) | |
| getMode () | |
| 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... | |
  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) | |
Data Fields | |
| const | MODE_SOAP = 1 | 
| const | MODE_EXPORT = 2 | 
  Data Fields inherited from ilSaxParser | |
| string | $xml_file | 
| bool | $throw_exception = false | 
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 | |
| int | $mode = self::MODE_EXPORT | 
| 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 | |
  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 58 of file class.ilCourseXMLParser.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ilCourseParticipants\_getInstanceByObjId(), and ilMDSaxParser\setMDObject().
 Here is the call graph for this function:| ilCourseXMLParser::__parseId | ( | $a_id | ) | 
Definition at line 326 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:| ilCourseXMLParser::getMode | ( | ) | 
Definition at line 81 of file class.ilCourseXMLParser.php.
References $mode.
Referenced by handlerEndTag().
 Here is the caller graph for this function:
      
  | 
  private | 
attach or detach admin from course member
Definition at line 355 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 435 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 | ||
| ) | 
Implements ilSaxSubsetParser.
Definition at line 119 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_name | ||
| ) | 
Character data handler.
| resource | $a_xml_parser | xml parser | 
Implements ilSaxSubsetParser.
Definition at line 678 of file class.ilCourseXMLParser.php.
| ilCourseXMLParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) | 
Implements ilSaxSubsetParser.
Definition at line 503 of file class.ilCourseXMLParser.php.
References $cdata, $current_container_setting, Vendor\Package\$e, ilContainer\_writeContainerSetting(), ilObjectTranslation\getInstance(), getMode(), IL_CAL_UNIX, and ilMDSaxParser\trimAndStrip().
 Here is the call graph for this function:
      
  | 
  private | 
attach or detach members from subscribers
Definition at line 467 of file class.ilCourseXMLParser.php.
Referenced by handlerBeginTag().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 394 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 485 of file class.ilCourseXMLParser.php.
Referenced by handlerBeginTag().
 Here is the caller graph for this function:| ilCourseXMLParser::setHandlers | ( | $a_xml_parser | ) | 
Definition at line 106 of file class.ilCourseXMLParser.php.
| ilCourseXMLParser::setMode | ( | int | $a_mode | ) | 
Definition at line 76 of file class.ilCourseXMLParser.php.
| ilCourseXMLParser::startParsing | ( | ) | 
Definition at line 86 of file class.ilCourseXMLParser.php.
References $general, and ilMDSaxParser\getMDObject().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 55 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 42 of file class.ilCourseXMLParser.php.
Referenced by handlerEndTag().
      
  | 
  protected | 
Definition at line 53 of file class.ilCourseXMLParser.php.
      
  | 
  protected | 
Definition at line 56 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 45 of file class.ilCourseXMLParser.php.
      
  | 
  protected | 
Definition at line 54 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 44 of file class.ilCourseXMLParser.php.
Referenced by handlerEndTag().
      
  | 
  private | 
Definition at line 34 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 33 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 36 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 37 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 35 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 46 of file class.ilCourseXMLParser.php.
      
  | 
  protected | 
Definition at line 51 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 31 of file class.ilCourseXMLParser.php.
Referenced by getMode().
      
  | 
  private | 
Definition at line 40 of file class.ilCourseXMLParser.php.
      
  | 
  private | 
Definition at line 39 of file class.ilCourseXMLParser.php.
      
  | 
  protected | 
Definition at line 52 of file class.ilCourseXMLParser.php.
      
  | 
  protected | 
Definition at line 47 of file class.ilCourseXMLParser.php.
| const ilCourseXMLParser::MODE_EXPORT = 2 | 
Definition at line 29 of file class.ilCourseXMLParser.php.
| const ilCourseXMLParser::MODE_SOAP = 1 | 
Definition at line 28 of file class.ilCourseXMLParser.php.
Referenced by ilSoapCourseAdministration\addCourse(), and ilSoapCourseAdministration\excludeCourseMember().