ILIAS
Release_5_0_x_branch Revision 61816
|
Description of class. More...
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 193 of file class.ilRoleXmlImporter.php.
References getRole(), and getRoleFolderId().
ilRoleXmlImporter::getRole | ( | ) |
Get role.
Definition at line 50 of file class.ilRoleXmlImporter.php.
References $role.
Referenced by assigntoRoleFolder(), importSimpleXml(), and initRole().
ilRoleXmlImporter::getRoleFolderId | ( | ) |
Get role folder id.
Definition at line 41 of file class.ilRoleXmlImporter.php.
References $role_folder.
Referenced by assigntoRoleFolder(), and importSimpleXml().
ilRoleXmlImporter::getXml | ( | ) |
Definition at line 32 of file class.ilRoleXmlImporter.php.
References $xml.
Referenced by import().
ilRoleXmlImporter::import | ( | ) |
import role | role templatae
ilRoleXmlImporterException |
Definition at line 68 of file class.ilRoleXmlImporter.php.
References getXml(), importSimpleXml(), and parseXmlErrors().
ilRoleXmlImporter::importSimpleXml | ( | SimpleXMLElement | $role | ) |
Import using simplexml.
SimpleXMLElement | $role |
Definition at line 91 of file class.ilRoleXmlImporter.php.
References $GLOBALS, $lng, ilObject\_getIdsForTitle(), ilObject\_lookupType(), getRole(), getRoleFolderId(), and initRole().
Referenced by import().
|
protected |
Definition at line 215 of file class.ilRoleXmlImporter.php.
References ilObject\_lookupObjIdByImportId(), ilObjectFactory\getInstanceByObjId(), and getRole().
Referenced by importSimpleXml().
|
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().