Role Exporter.
More...
|
| | __construct () |
| | Constructor. More...
|
| |
| | init () |
| | Init export. More...
|
| |
| | getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids) |
| | Get head dependencies. More...
|
| |
| | getXmlRepresentation ($a_entity, $a_schema_version, $a_id) |
| | Get xml. More...
|
| |
| | getValidSchemaVersions ($a_entity) |
| | Returns schema versions that the component can export to. More...
|
| |
| | __construct () |
| | Constructor. More...
|
| |
| | getXmlRepresentation ($a_entity, $a_schema_version, $a_id) |
| | Get xml representation. More...
|
| |
| | init () |
| |
| | setExportDirectories ($a_dir_relative, $a_dir_absolute) |
| | Export directories. More...
|
| |
| | getRelativeExportDirectory () |
| | Get relative export directory. More...
|
| |
| | getAbsoluteExportDirectory () |
| | Get absolute export directory. More...
|
| |
| | getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids) |
| | Get head dependencies. More...
|
| |
| | getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids) |
| | Get tail dependencies. More...
|
| |
| | getValidSchemaVersions ($a_entity) |
| | Returns schema versions that the component can export to. More...
|
| |
| | determineSchemaVersion ($a_entity, $a_target_release) |
| | Determine schema version. More...
|
| |
Role Exporter.
- Author
- Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
- Version
- $Id$
Definition at line 16 of file class.ilAccessControlExporter.php.
◆ __construct()
| ilAccessControlExporter::__construct |
( |
| ) |
|
◆ getValidSchemaVersions()
| ilAccessControlExporter::getValidSchemaVersions |
( |
|
$a_entity | ) |
|
Returns schema versions that the component can export to.
ILIAS chooses the first one, that has min/max constraints which fit to the target release. Please put the newest on top.
- Returns
Definition at line 85 of file class.ilAccessControlExporter.php.
89 "namespace" =>
"http://www.ilias.de/AccessControl/Role/role/4_3",
90 "xsd_file" =>
"ilias_role_4_3.xsd",
91 "uses_dataset" =>
false,
◆ getXmlExportHeadDependencies()
| ilAccessControlExporter::getXmlExportHeadDependencies |
( |
|
$a_entity, |
|
|
|
$a_target_release, |
|
|
|
$a_ids |
|
) |
| |
Get head dependencies.
- Parameters
-
| string | entity |
| string | target release |
| array | ids |
- Returns
- array array of array with keys "component", entity", "ids"
Definition at line 44 of file class.ilAccessControlExporter.php.
◆ getXmlRepresentation()
| ilAccessControlExporter::getXmlRepresentation |
( |
|
$a_entity, |
|
|
|
$a_schema_version, |
|
|
|
$a_id |
|
) |
| |
Get xml.
- Parameters
-
| object | $a_entity | |
| object | $a_schema_version | |
| object | $a_id | |
- Returns
Definition at line 57 of file class.ilAccessControlExporter.php.
References $writer, ilExportOptions\getInstance(), and ilExportOptions\KEY_ROOT.
61 include_once
'./Services/AccessControl/classes/class.ilRoleXmlExport.php';
64 include_once
'./Services/Export/classes/class.ilExportOptions.php';
70 #$rolfs = $rbacreview->getFoldersAssignedToRole($a_id,false); 73 $writer->setRoles(array($a_id => $rolf));
75 return $writer->xmlDumpMem($format);
static getInstance()
Get singelton instance.
Xml export of roles and role templates.
◆ init()
| ilAccessControlExporter::init |
( |
| ) |
|
◆ $writer
| ilAccessControlExporter::$writer = null |
|
private |
The documentation for this class was generated from the following file: