ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilAccessControlImporter Class Reference

role role template xml importer More...

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

Public Member Functions

 init ()
 Init.
 importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping)
 Import XML.
- Public Member Functions inherited from ilXmlImporter
 __construct ()
 Constructor.
 setInstallId ($a_val)
 Set installation id.
 getInstallId ()
 Get installation id.
 setInstallUrl ($a_val)
 Set installation url.
 getInstallUrl ()
 Get installation url.
 setSchemaVersion ($a_val)
 Set schema version.
 getSchemaVersion ()
 Get schema version.
 setImportDirectory ($a_val)
 Set import directory.
 getImportDirectory ()
 Get import directory.
 setSkipEntities ($a_val)
 Set skip entities.
 getSkipEntities ()
 Get skip entities.
 finalProcessing ($a_mapping)
 Final processing.

Additional Inherited Members

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

Detailed Description

role role template xml importer

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
Id:
class.ilAccessControlImporter.php 35965 2012-08-03 10:50:38Z smeyer

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

Member Function Documentation

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

Import XML.

Parameters
@return

Reimplemented from ilXmlImporter.

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

{
$role_folder_id = $a_mapping->getMapping('Services/AccessControl','rolf',0);
include_once './Services/AccessControl/classes/class.ilRoleXmlImporter.php';
include_once './Services/AccessControl/classes/class.ilObjRole.php';
$importer = new ilRoleXmlImporter($role_folder_id);
$importer->setXml($a_xml);
$importer->setRole(new ilObjRole());
$importer->import();
}
ilAccessControlImporter::init ( )

Init.

Reimplemented from ilXmlImporter.

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

{
}

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