|
ILIAS
release_8 Revision v8.24
|
represents a creation of local roles action More...
Inheritance diagram for ilDidacticTemplateLocalRoleAction:
Collaboration diagram for ilDidacticTemplateLocalRoleAction:Public Member Functions | |
| __construct (int $a_action_id=0) | |
| getType () | |
| Get type of template. More... | |
| setRoleTemplateId (int $a_role_template_id) | |
| getRoleTemplateId () | |
| apply () | |
| Apply action. More... | |
| revert () | |
| Implement everthing that is necessary to revert a didactic template return bool. More... | |
| save () | |
| Write action to db Overwrite for filling additional db fields. More... | |
| delete () | |
| Delete didactic template action Overwrite for filling additional db fields. More... | |
| toXml (ilXmlWriter $writer) | |
| read () | |
Public Member Functions inherited from ilDidacticTemplateAction | |
| __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 | |
Data Fields inherited from ilDidacticTemplateAction | |
| 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' |
Protected Member Functions inherited from ilDidacticTemplateAction | |
| initSourceObject () | |
| filterRoles (ilObject $source) | |
Protected Attributes inherited from ilDidacticTemplateAction | |
| 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 | ) |
Reimplemented from ilDidacticTemplateAction.
Definition at line 15 of file class.ilDidacticTemplateLocalRoleAction.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilDidacticTemplateLocalRoleAction::apply | ( | ) |
Apply action.
Reimplemented from ilDidacticTemplateAction.
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.
Here is the call graph for this function:| ilDidacticTemplateLocalRoleAction::delete | ( | ) |
Delete didactic template action Overwrite for filling additional db fields.
Reimplemented from ilDidacticTemplateAction.
Definition at line 100 of file class.ilDidacticTemplateLocalRoleAction.php.
References $query, and ilDidacticTemplateAction\getActionId().
Here is the call graph for this function:| ilDidacticTemplateLocalRoleAction::getRoleTemplateId | ( | ) |
Definition at line 30 of file class.ilDidacticTemplateLocalRoleAction.php.
References $role_template_id.
Referenced by apply(), save(), and toXml().
Here is the caller graph for this function:| ilDidacticTemplateLocalRoleAction::getType | ( | ) |
Get type of template.
Reimplemented from ilDidacticTemplateAction.
Definition at line 20 of file class.ilDidacticTemplateLocalRoleAction.php.
References ilDidacticTemplateAction\TYPE_LOCAL_ROLE.
| ilDidacticTemplateLocalRoleAction::read | ( | ) |
Reimplemented from ilDidacticTemplateAction.
Definition at line 131 of file class.ilDidacticTemplateLocalRoleAction.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, ilDidacticTemplateAction\getActionId(), and setRoleTemplateId().
Here is the call graph for this function:| ilDidacticTemplateLocalRoleAction::revert | ( | ) |
Implement everthing that is necessary to revert a didactic template return bool.
Reimplemented from ilDidacticTemplateAction.
Definition at line 76 of file class.ilDidacticTemplateLocalRoleAction.php.
| ilDidacticTemplateLocalRoleAction::save | ( | ) |
Write action to db Overwrite for filling additional db fields.
Reimplemented from ilDidacticTemplateAction.
Definition at line 84 of file class.ilDidacticTemplateLocalRoleAction.php.
References $query, $res, ilDidacticTemplateAction\getActionId(), and getRoleTemplateId().
Here is the call graph for this function:| ilDidacticTemplateLocalRoleAction::setRoleTemplateId | ( | int | $a_role_template_id | ) |
Definition at line 25 of file class.ilDidacticTemplateLocalRoleAction.php.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateLocalRoleAction::toXml | ( | ilXmlWriter | $writer | ) |
Reimplemented from ilDidacticTemplateAction.
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().
Here is the call graph for this function:
|
private |
Definition at line 13 of file class.ilDidacticTemplateLocalRoleAction.php.
Referenced by getRoleTemplateId().