| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Description of class. More...
 Collaboration diagram for ilRoleXmlImporter:
 Collaboration diagram for ilRoleXmlImporter:| Public Member Functions | |
| __construct ($a_role_folder_id=0) | |
| Constructor. | |
| setXml ($a_xml) | |
| getXml () | |
| getRoleFolderId () | |
| Get role folder id. | |
| getRole () | |
| Get role. | |
| setRole (ilObject $role) | |
| Set role or role template. | |
| import () | |
| import role | role templatae | |
| importSimpleXml (SimpleXMLElement $role) | |
| Import using simplexml. | |
| Protected Member Functions | |
| assigntoRoleFolder () | |
| Assign role to folder  type $rbacadmin. | |
| initRole ($import_id) | |
| parseXmlErrors () | |
| Protected Attributes | |
| $role_folder = 0 | |
| $role = null | |
| $xml = '' | |
Description of class.
Definition at line 12 of file class.ilRoleXmlImporter.php.
| ilRoleXmlImporter::__construct | ( | $a_role_folder_id = 0 | ) | 
Constructor.
Definition at line 22 of file class.ilRoleXmlImporter.php.
| 
 | protected | 
Assign role to folder type $rbacadmin.
Definition at line 170 of file class.ilRoleXmlImporter.php.
References getRole(), and getRoleFolderId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilRoleXmlImporter::getRole | ( | ) | 
Get role.
Definition at line 50 of file class.ilRoleXmlImporter.php.
References $role.
Referenced by assigntoRoleFolder(), importSimpleXml(), and initRole().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRoleXmlImporter::getRoleFolderId | ( | ) | 
Get role folder id.
Definition at line 41 of file class.ilRoleXmlImporter.php.
References $role_folder.
Referenced by assigntoRoleFolder(), and importSimpleXml().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRoleXmlImporter::getXml | ( | ) | 
Definition at line 32 of file class.ilRoleXmlImporter.php.
References $xml.
Referenced by import().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRoleXmlImporter::import | ( | ) | 
import role | role templatae
| ilRoleXmlImporterException | 
Definition at line 68 of file class.ilRoleXmlImporter.php.
References getXml(), importSimpleXml(), and parseXmlErrors().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilRoleXmlImporter::importSimpleXml | ( | SimpleXMLElement | $role | ) | 
Import using simplexml.
| SimpleXMLElement | $role | 
Definition at line 91 of file class.ilRoleXmlImporter.php.
References $GLOBALS, getRole(), getRoleFolderId(), and initRole().
Referenced by import().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 187 of file class.ilRoleXmlImporter.php.
References ilObject\_lookupObjIdByImportId(), ilObjectFactory\getInstanceByObjId(), and getRole().
Referenced by importSimpleXml().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
| ilRoleXmlImporter::setRole | ( | ilObject | $role | ) | 
Set role or role template.
| ilObject | $role | 
Definition at line 59 of file class.ilRoleXmlImporter.php.
References $role.
| ilRoleXmlImporter::setXml | ( | $a_xml | ) | 
Definition at line 27 of file class.ilRoleXmlImporter.php.
| 
 | protected | 
Definition at line 15 of file class.ilRoleXmlImporter.php.
| 
 | protected | 
Definition at line 14 of file class.ilRoleXmlImporter.php.
Referenced by getRoleFolderId().
| 
 | protected | 
Definition at line 17 of file class.ilRoleXmlImporter.php.
Referenced by getXml().