ILIAS
release_8 Revision v8.19
|
represents a creation of local roles action More...
Public Member Functions | |
__construct (int $a_action_id=0) | |
getType () | |
setRoleTemplateId (int $a_role_template_id) | |
getRoleTemplateId () | |
apply () | |
revert () | |
save () | |
delete () | |
toXml (ilXmlWriter $writer) | |
read () | |
![]() | |
__construct (int $action_id=0) | |
getLogger () | |
getActionId () | |
setActionId (int $a_action_id) | |
setType (int $a_type_id) | |
setTemplateId (int $a_id) | |
getTemplateId () | |
setRefId (int $a_ref_id) | |
getRefId () | |
save () | |
Write action to db Overwrite for filling additional db fields. More... | |
delete () | |
Delete didactic template action Overwrite for filling additional db fields. More... | |
read () | |
getType () | |
Get type of template. More... | |
apply () | |
Apply action. More... | |
revert () | |
Implement everthing that is necessary to revert a didactic template return bool. More... | |
__clone () | |
toXml (ilXmlWriter $writer) | |
Private Attributes | |
int | $role_template_id = 0 |
Additional Inherited Members | |
![]() | |
const | TYPE_LOCAL_POLICY = 1 |
const | TYPE_LOCAL_ROLE = 2 |
const | TYPE_BLOCK_ROLE = 3 |
const | FILTER_SOURCE_TITLE = 1 |
const | FILTER_SOURCE_OBJ_ID = 2 |
const | FILTER_PARENT_ROLES = 3 |
const | FILTER_LOCAL_ROLES = 4 |
const | PATTERN_PARENT_TYPE = 'action' |
![]() | |
initSourceObject () | |
filterRoles (ilObject $source) | |
![]() | |
ilLogger | $logger |
ilDBInterface | $db |
ilRbacReview | $review |
ilRbacAdmin | $admin |
represents a creation of local roles action
Definition at line 11 of file class.ilDidacticTemplateLocalRoleAction.php.
ilDidacticTemplateLocalRoleAction::__construct | ( | int | $a_action_id = 0 | ) |
Definition at line 15 of file class.ilDidacticTemplateLocalRoleAction.php.
References ILIAS\GlobalScreen\Provider\__construct().
ilDidacticTemplateLocalRoleAction::apply | ( | ) |
Definition at line 35 of file class.ilDidacticTemplateLocalRoleAction.php.
References $source, ilObject\_lookupDescription(), ilObject\_lookupTitle(), ilDidacticTemplateAction\getRefId(), getRoleTemplateId(), ilDidacticTemplateAction\initSourceObject(), ILIAS\Repository\logger(), and ROLE_FOLDER_ID.
ilDidacticTemplateLocalRoleAction::delete | ( | ) |
Definition at line 100 of file class.ilDidacticTemplateLocalRoleAction.php.
References $query, and ilDidacticTemplateAction\getActionId().
ilDidacticTemplateLocalRoleAction::getRoleTemplateId | ( | ) |
Definition at line 30 of file class.ilDidacticTemplateLocalRoleAction.php.
References $role_template_id.
Referenced by apply(), save(), and toXml().
ilDidacticTemplateLocalRoleAction::getType | ( | ) |
Definition at line 20 of file class.ilDidacticTemplateLocalRoleAction.php.
ilDidacticTemplateLocalRoleAction::read | ( | ) |
Definition at line 131 of file class.ilDidacticTemplateLocalRoleAction.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, ilDidacticTemplateAction\getActionId(), and setRoleTemplateId().
ilDidacticTemplateLocalRoleAction::revert | ( | ) |
Definition at line 76 of file class.ilDidacticTemplateLocalRoleAction.php.
ilDidacticTemplateLocalRoleAction::save | ( | ) |
Definition at line 84 of file class.ilDidacticTemplateLocalRoleAction.php.
References $query, $res, ilDidacticTemplateAction\getActionId(), and getRoleTemplateId().
ilDidacticTemplateLocalRoleAction::setRoleTemplateId | ( | int | $a_role_template_id | ) |
Definition at line 25 of file class.ilDidacticTemplateLocalRoleAction.php.
Referenced by read().
ilDidacticTemplateLocalRoleAction::toXml | ( | ilXmlWriter | $writer | ) |
Definition at line 109 of file class.ilDidacticTemplateLocalRoleAction.php.
References ilObject\_lookupType(), ilXmlWriter\appendXML(), getRoleTemplateId(), IL_INST_ID, ilRoleXmlExport\MODE_DTPL, ROLE_FOLDER_ID, ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
|
private |
Definition at line 13 of file class.ilDidacticTemplateLocalRoleAction.php.
Referenced by getRoleTemplateId().