|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Group Import Parser. More...
Inheritance diagram for ilGroupXMLParser:
Collaboration diagram for ilGroupXMLParser:Public Member Functions | |
| __construct (ilObjGroup $group, string $a_xml, int $a_parent_id) | |
| pushParentId (int $a_id) | |
| popParentId () | |
| getParentId () | |
| setHandlers ($a_xml_parser) | |
| startParsing () | |
| getObjectRefId () | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| End element handler. More... | |
| handlerCharacterData ($a_xml_parser, string $a_data) | |
| save () | |
| assignMembers () | |
| parseId (string $a_id) | |
| setMode (int $mode) | |
| initContainerSorting (array $a_attribs, int $a_group_id) | |
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) | |
Static Public Attributes | |
| static int | $CREATE = 1 |
| static int | $UPDATE = 2 |
Private Attributes | |
| $after_parsing_status = null | |
| ilLogger | $log |
| ilObjGroup | $group_obj |
| bool | $lom_parsing_active = false |
| ilGroupParticipants | $participants = null |
| string | $current_container_setting = '' |
| array | $sort = null |
| array | $group_data = [] |
| bool | $group_imported = false |
| bool | $in_period = false |
| string | $cdata = '' |
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) | |
Group Import Parser.
Definition at line 27 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::__construct | ( | ilObjGroup | $group, |
| string | $a_xml, | ||
| int | $a_parent_id | ||
| ) |
Definition at line 69 of file class.ilGroupXMLParser.php.
References $CREATE, $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), pushParentId(), ilMDSaxParser\setMDObject(), ILIAS\Repository\settings(), ilSaxParser\setXMLContent(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilGroupXMLParser::assignMembers | ( | ) |
Definition at line 589 of file class.ilGroupXMLParser.php.
References ilGroupParticipants\add(), ilParticipants\IL_GRP_ADMIN, ilParticipants\IL_GRP_MEMBER, parseId(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLParser::getObjectRefId | ( | ) |
Definition at line 158 of file class.ilGroupXMLParser.php.
References $after_parsing_status.
| ilGroupXMLParser::getParentId | ( | ) |
Definition at line 105 of file class.ilGroupXMLParser.php.
Referenced by save().
Here is the caller graph for this function:| ilGroupXMLParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
| mixed | null | $a_attribs |
Implements ilSaxSubsetParser.
Definition at line 168 of file class.ilGroupXMLParser.php.
References $DIC, $GLOBALS, $ilErr, initContainerSorting(), ILIAS\Repository\int(), and ilMDSaxParser\trimAndStripAttribs().
Here is the call graph for this function:| ilGroupXMLParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
Implements ilSaxSubsetParser.
Definition at line 405 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
End element handler.
| resource | $a_xml_parser | xml parser |
Implements ilSaxSubsetParser.
Definition at line 289 of file class.ilGroupXMLParser.php.
References $cdata, $current_container_setting, ilContainer\_writeContainerSetting(), IL_CAL_UNIX, ILIAS\Repository\int(), save(), and ilMDSaxParser\trimAndStrip().
Here is the call graph for this function:| ilGroupXMLParser::initContainerSorting | ( | array | $a_attribs, |
| int | $a_group_id | ||
| ) |
Definition at line 678 of file class.ilGroupXMLParser.php.
References ilContainerSortingSettings\_importContainerSortingSettings().
Referenced by handlerBeginTag(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLParser::parseId | ( | string | $a_id | ) |
Definition at line 644 of file class.ilGroupXMLParser.php.
References $id, ilObjUser\_getImportedUserId(), ilObjUser\_lookupName(), ILIAS\Repository\int(), and ILIAS\Repository\settings().
Referenced by assignMembers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLParser::popParentId | ( | ) |
Definition at line 100 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::pushParentId | ( | int | $a_id | ) |
Definition at line 96 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 419 of file class.ilGroupXMLParser.php.
References $CREATE, Vendor\Package\$e, ilUtil\__extractId(), assignMembers(), getParentId(), ilGroupConstants\GRP_REGISTRATION_DEACTIVATED, ilGroupConstants\GRP_REGISTRATION_DIRECT, ilGroupConstants\GRP_REGISTRATION_PASSWORD, ilGroupConstants\GRP_REGISTRATION_REQUEST, ilGroupConstants\GRP_TYPE_CLOSED, ilGroupConstants\GRP_TYPE_OPEN, IL_CAL_UNIX, IL_INST_ID, initContainerSorting(), and pushParentId().
Referenced by handlerEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupXMLParser::setHandlers | ( | $a_xml_parser | ) |
Definition at line 114 of file class.ilGroupXMLParser.php.
| ilGroupXMLParser::setMode | ( | int | $mode | ) |
| ilGroupXMLParser::startParsing | ( | ) |
Definition at line 134 of file class.ilGroupXMLParser.php.
References $CREATE, $general, and ilMDSaxParser\getMDObject().
Here is the call graph for this function:
|
protected |
Definition at line 51 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 32 of file class.ilGroupXMLParser.php.
Referenced by getObjectRefId().
|
private |
Definition at line 60 of file class.ilGroupXMLParser.php.
Referenced by handlerEndTag().
|
protected |
Definition at line 64 of file class.ilGroupXMLParser.php.
|
static |
Definition at line 29 of file class.ilGroupXMLParser.php.
Referenced by __construct(), save(), and startParsing().
|
private |
Definition at line 54 of file class.ilGroupXMLParser.php.
Referenced by handlerEndTag().
|
private |
Definition at line 57 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 58 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 38 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 59 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 37 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 47 of file class.ilGroupXMLParser.php.
|
protected |
Definition at line 66 of file class.ilGroupXMLParser.php.
Referenced by setMode().
|
protected |
Definition at line 63 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 53 of file class.ilGroupXMLParser.php.
|
protected |
Definition at line 40 of file class.ilGroupXMLParser.php.
|
protected |
Definition at line 49 of file class.ilGroupXMLParser.php.
|
protected |
Definition at line 41 of file class.ilGroupXMLParser.php.
|
private |
Definition at line 55 of file class.ilGroupXMLParser.php.
|
static |
Definition at line 30 of file class.ilGroupXMLParser.php.
Referenced by ilSoapGroupAdministration\addGroup(), and ilGroupImporter\importXmlRepresentation().
|
protected |
Definition at line 39 of file class.ilGroupXMLParser.php.