ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilAccessControlImporter Class Reference

role role template xml importer More...

+ Inheritance diagram for ilAccessControlImporter:
+ Collaboration diagram for ilAccessControlImporter:

Public Member Functions

 init ()
 
 importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping)
 Import XML. More...
 
- Public Member Functions inherited from ilXmlImporter
 __construct ()
 Constructor. More...
 
 setImport ($a_val)
 Set import. More...
 
 getImport ()
 Get import. More...
 
 init ()
 Init. More...
 
 setInstallId ($a_val)
 Set installation id. More...
 
 getInstallId ()
 Get installation id. More...
 
 setInstallUrl ($a_val)
 Set installation url. More...
 
 getInstallUrl ()
 Get installation url. More...
 
 setSchemaVersion ($a_val)
 Set schema version. More...
 
 getSchemaVersion ()
 Get schema version. More...
 
 setImportDirectory ($a_val)
 Set import directory. More...
 
 getImportDirectory ()
 Get import directory. More...
 
 setSkipEntities ($a_val)
 Set skip entities. More...
 
 getSkipEntities ()
 Get skip entities. More...
 
 exportedFromSameInstallation ()
 Is exporting and importing installation identical? More...
 
 importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping)
 Import xml representation. More...
 
 finalProcessing ($a_mapping)
 Final processing. More...
 
 afterContainerImportProcessing (ilImportMapping $mapping)
 Called after all container objects have been implemented. More...
 

Additional Inherited Members

- Protected Attributes inherited from ilXmlImporter
 $skip_entities = array()
 
 $imp
 

Detailed Description

role role template xml importer

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 15 of file class.ilAccessControlImporter.php.

Member Function Documentation

◆ importXmlRepresentation()

ilAccessControlImporter::importXmlRepresentation (   $a_entity,
  $a_id,
  $a_xml,
  $a_mapping 
)

Import XML.

Parameters

Definition at line 27 of file class.ilAccessControlImporter.php.

28  {
29  $role_folder_id = $a_mapping->getMapping('Services/AccessControl', 'rolf', 0);
30 
31  include_once './Services/AccessControl/classes/class.ilRoleXmlImporter.php';
32  include_once './Services/AccessControl/classes/class.ilObjRole.php';
33  $importer = new ilRoleXmlImporter($role_folder_id);
34  $importer->setXml($a_xml);
35  $importer->setRole(new ilObjRole());
36  $importer->import();
37  }
Class ilObjRole.
Description of class.

◆ init()

ilAccessControlImporter::init ( )

Definition at line 17 of file class.ilAccessControlImporter.php.

18  {
19  }

The documentation for this class was generated from the following file: