|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ilGroupXMLParser:
Collaboration diagram for ilGroupXMLParser:Public Member Functions | |
| __construct ($a_xml, $a_parent_id) | |
| Constructor. More... | |
| __pushParentId ($a_id) | |
| __popParentId () | |
| __getParentId () | |
| setHandlers ($a_xml_parser) | |
| set event handler should be overwritten by inherited class @access private More... | |
| startParsing () | |
| start the parser More... | |
| handlerBeginTag ($a_xml_parser, $a_name, $a_attribs) | |
| handler for begin of element More... | |
| handlerEndTag ($a_xml_parser, $a_name) | |
| handlerCharacterData ($a_xml_parser, $a_data) | |
| handler for character data More... | |
| __save () | |
| __assignMembers () | |
| __initGroupObject () | |
| __parseId ($a_id) | |
| setMode ($mode) | |
| setGroup (&$grp) | |
| __initContainerSorting ($a_attribs, $a_group_id) | |
Public Member Functions inherited from ilSaxParser | |
| __construct ($a_xml_file='', $throwException=false) | |
| Constructor setup ILIAS global object @access public. More... | |
| setXMLContent ($a_xml_content) | |
| getXMLContent () | |
| getInputType () | |
| startParsing () | |
| stores xml data in array More... | |
| createParser () | |
| create parser More... | |
| setOptions ($a_xml_parser) | |
| set parser options More... | |
| setHandlers ($a_xml_parser) | |
| set event handler should be overwritten by inherited class @access private More... | |
| openXMLFile () | |
| open xml file More... | |
| parse ($a_xml_parser, $a_fp=null) | |
| parse xml file More... | |
| freeParser ($a_xml_parser) | |
| free xml parser handle More... | |
| setThrowException ($throwException) | |
| set error handling More... | |
Public Member Functions inherited from PEAR | |
| __construct ($error_class=null) | |
| Constructor. More... | |
| _PEAR () | |
| Destructor (the emulated type of...). More... | |
| registerShutdownFunc ($func, $args=array()) | |
| Use this function to register a shutdown method for static classes. More... | |
| isError ($data, $code=null) | |
| Tell whether a value is a PEAR error. More... | |
| expectError ($code=' *') | |
| This method is used to tell which errors you expect to get. More... | |
| popExpect () | |
| This method pops one element off the expected error codes stack. More... | |
| _checkDelExpect ($error_code) | |
| This method checks unsets an error code if available. More... | |
| delExpect ($error_code) | |
| This method deletes all occurences of the specified element from the expected error codes stack. More... | |
| & | raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) |
| This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. More... | |
| & | throwError ($message=null, $code=null, $userinfo=null) |
| Simpler form of raiseError with fewer options. More... | |
| staticPushErrorHandling ($mode, $options=null) | |
| staticPopErrorHandling () | |
| pushErrorHandling ($mode, $options=null) | |
| Push a new error handler on top of the error handler options stack. More... | |
| popErrorHandling () | |
| Pop the last error handler used. More... | |
| loadExtension ($ext) | |
| OS independant PHP extension load. More... | |
Data Fields | |
| $group_data | |
| $group_obj | |
| $parent | |
| $counter | |
| $mode | |
| $grp | |
Data Fields inherited from ilSaxParser | |
| $input_type = null | |
| $xml_content = '' | |
| $ilias | |
| $lng | |
| $xml_file | |
| $throwException = false | |
Data Fields inherited from PEAR | |
| $_debug = false | |
| $_default_error_mode = null | |
| $_default_error_options = null | |
| $_default_error_handler = '' | |
| $_error_class = 'PEAR_Error' | |
| $_expected_errors = array() | |
Static Public Attributes | |
| static | $CREATE = 1 |
| static | $UPDATE = 2 |
Protected Attributes | |
| $log | |
Private Attributes | |
| $participants = null | |
| $current_container_setting | |
| $sort = null | |
Additional Inherited Members | |
Static Public Member Functions inherited from PEAR | |
| static & | getStaticProperty ($class, $var) |
| If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. More... | |
| static | setErrorHandling ($mode=null, $options=null) |
| Sets how errors generated by this object should be handled. More... | |
Protected Member Functions inherited from ilSaxParser | |
| handleError ($message, $code) | |
| use given error handler to handle error message or internal ilias error message handle More... | |
Group Import Parser.
Definition at line 39 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::__construct | ( | $a_xml, | |
| $a_parent_id | |||
| ) |
Constructor.
| string | $a_xml_file | xml file |
@access public
Reimplemented from ilSaxParser.
Definition at line 70 of file class.ilGroupXMLParser.php.
References $CREATE, $GLOBALS, __pushParentId(), and ilSaxParser\setXMLContent().
Here is the call graph for this function:| ilGroupXMLParser::__assignMembers | ( | ) |
Definition at line 452 of file class.ilGroupXMLParser.php.
References ilSaxParser\$ilias, $ilSetting, $ilUser, __parseId(), IL_GRP_ADMIN, and IL_GRP_MEMBER.
Referenced by __save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLParser::__getParentId | ( | ) |
Definition at line 97 of file class.ilGroupXMLParser.php.
Referenced by __save().
Here is the caller graph for this function:| ilGroupXMLParser::__initContainerSorting | ( | $a_attribs, | |
| $a_group_id | |||
| ) |
Definition at line 563 of file class.ilGroupXMLParser.php.
References ilContainerSortingSettings\_importContainerSortingSettings().
Referenced by __save(), and handlerBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLParser::__initGroupObject | ( | ) |
Definition at line 510 of file class.ilGroupXMLParser.php.
References $CREATE, $grp, and $UPDATE.
Referenced by __save(), and handlerEndTag().
Here is the caller graph for this function:| ilGroupXMLParser::__parseId | ( | $a_id | ) |
Definition at line 523 of file class.ilGroupXMLParser.php.
References $GLOBALS, $id, ilSaxParser\$ilias, ilObjUser\_getImportedUserId(), and ilObjUser\_lookupName().
Referenced by __assignMembers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLParser::__popParentId | ( | ) |
Definition at line 91 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::__pushParentId | ( | $a_id | ) |
Definition at line 87 of file class.ilGroupXMLParser.php.
Referenced by __construct(), and __save().
Here is the caller graph for this function:| ilGroupXMLParser::__save | ( | ) |
mode can be create or update
Definition at line 330 of file class.ilGroupXMLParser.php.
References $CREATE, $end, __assignMembers(), ilUtil\__extractId(), __getParentId(), __initContainerSorting(), __initGroupObject(), __pushParentId(), GRP_REGISTRATION_DEACTIVATED, GRP_REGISTRATION_DIRECT, GRP_REGISTRATION_PASSWORD, GRP_REGISTRATION_REQUEST, GRP_TYPE_CLOSED, GRP_TYPE_OPEN, and IL_CAL_UNIX.
Referenced by handlerEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLParser::handlerBeginTag | ( | $a_xml_parser, | |
| $a_name, | |||
| $a_attribs | |||
| ) |
handler for begin of element
Definition at line 132 of file class.ilGroupXMLParser.php.
References $GLOBALS, $ilErr, and __initContainerSorting().
Here is the call graph for this function:| ilGroupXMLParser::handlerCharacterData | ( | $a_xml_parser, | |
| $a_data | |||
| ) |
handler for character data
Definition at line 315 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::handlerEndTag | ( | $a_xml_parser, | |
| $a_name | |||
| ) |
Definition at line 215 of file class.ilGroupXMLParser.php.
References __initGroupObject(), __save(), ilContainer\_writeContainerSetting(), and IL_CAL_UNIX.
Here is the call graph for this function:| ilGroupXMLParser::setGroup | ( | & | $grp | ) |
Definition at line 558 of file class.ilGroupXMLParser.php.
References $grp.
| ilGroupXMLParser::setHandlers | ( | $a_xml_parser | ) |
set event handler should be overwritten by inherited class @access private
Reimplemented from ilSaxParser.
Definition at line 107 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::setMode | ( | $mode | ) |
Definition at line 553 of file class.ilGroupXMLParser.php.
References $mode.
| ilGroupXMLParser::startParsing | ( | ) |
start the parser
Reimplemented from ilSaxParser.
Definition at line 117 of file class.ilGroupXMLParser.php.
References $CREATE.
| ilGroupXMLParser::$counter |
Definition at line 57 of file class.ilGroupXMLParser.php.
|
static |
Definition at line 41 of file class.ilGroupXMLParser.php.
Referenced by __construct(), __initGroupObject(), __save(), and startParsing().
|
private |
Definition at line 50 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::$group_data |
Definition at line 53 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::$group_obj |
Definition at line 54 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::$grp |
Definition at line 60 of file class.ilGroupXMLParser.php.
Referenced by __initGroupObject(), and setGroup().
|
protected |
Definition at line 47 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::$mode |
Definition at line 59 of file class.ilGroupXMLParser.php.
Referenced by setMode().
| ilGroupXMLParser::$parent |
Definition at line 56 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 49 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 51 of file class.ilGroupXMLParser.php.
|
static |
Definition at line 42 of file class.ilGroupXMLParser.php.
Referenced by __initGroupObject(), ilGroupImporter\importXmlRepresentation(), and ilSoapGroupAdministration\updateGroup().