|
ILIAS
release_8 Revision v8.25-1-g13de6a5eca6
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilDidacticTemplateBlockRoleAction:
Collaboration diagram for ilDidacticTemplateBlockRoleAction:Public Member Functions | |
| __construct (int $action_id=0) | |
| addFilterPattern (ilDidacticTemplateFilterPattern $pattern) | |
| setFilterPatterns (array $patterns) | |
| Set filter patterns. More... | |
| getFilterPattern () | |
| Get filter patterns. More... | |
| setFilterType (int $a_type) | |
| getFilterType () | |
| save () | |
| Write action to db Overwrite for filling additional db fields. More... | |
| delete () | |
| Delete didactic template action Overwrite for filling additional db fields. More... | |
| apply () | |
| Apply action. More... | |
| revert () | |
| Implement everthing that is necessary to revert a didactic template return bool. More... | |
| getType () | |
| Get type of template. More... | |
| toXml (ilXmlWriter $writer) | |
| __clone () | |
| 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) | |
Protected Member Functions | |
| blockRole (int $a_role_id, ilObject $source) | |
| deleteLocalPolicy (int $a_role_id, ilObject $source) | |
Protected Member Functions inherited from ilDidacticTemplateAction | |
| initSourceObject () | |
| filterRoles (ilObject $source) | |
Private Attributes | |
| array | $pattern = [] |
| int | $filter_type = self::FILTER_SOURCE_TITLE |
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 Attributes inherited from ilDidacticTemplateAction | |
| ilLogger | $logger |
| ilDBInterface | $db |
| ilRbacReview | $review |
| ilRbacAdmin | $admin |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Description of ilDidacticTemplateBlockRoleAction
Definition at line 26 of file class.ilDidacticTemplateBlockRoleAction.php.
| ilDidacticTemplateBlockRoleAction::__construct | ( | int | $action_id = 0 | ) |
Reimplemented from ilDidacticTemplateAction.
Definition at line 32 of file class.ilDidacticTemplateBlockRoleAction.php.
References ilDidacticTemplateAction\$action_id, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilDidacticTemplateBlockRoleAction::__clone | ( | ) |
Reimplemented from ilDidacticTemplateAction.
Definition at line 202 of file class.ilDidacticTemplateBlockRoleAction.php.
References $pattern, getFilterPattern(), and setFilterPatterns().
Here is the call graph for this function:| ilDidacticTemplateBlockRoleAction::addFilterPattern | ( | ilDidacticTemplateFilterPattern | $pattern | ) |
Definition at line 37 of file class.ilDidacticTemplateBlockRoleAction.php.
References $pattern.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::apply | ( | ) |
Apply action.
Reimplemented from ilDidacticTemplateAction.
Definition at line 102 of file class.ilDidacticTemplateBlockRoleAction.php.
References $source, blockRole(), ilDidacticTemplateAction\filterRoles(), and ilDidacticTemplateAction\initSourceObject().
Here is the call graph for this function:
|
protected |
Definition at line 115 of file class.ilDidacticTemplateBlockRoleAction.php.
References $source, and SYSTEM_ROLE_ID.
Referenced by apply().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::delete | ( | ) |
Delete didactic template action Overwrite for filling additional db fields.
Reimplemented from ilDidacticTemplateAction.
Definition at line 90 of file class.ilDidacticTemplateBlockRoleAction.php.
References $pattern, $query, ilDidacticTemplateAction\getActionId(), and getFilterPattern().
Here is the call graph for this function:
|
protected |
Definition at line 148 of file class.ilDidacticTemplateBlockRoleAction.php.
References $source, ilObject\_lookupTitle(), ILIAS\Repository\logger(), and ilObjRole\MODE_UNPROTECTED_DELETE_LOCAL_POLICIES.
Referenced by revert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::getFilterPattern | ( | ) |
Get filter patterns.
Definition at line 55 of file class.ilDidacticTemplateBlockRoleAction.php.
References $pattern.
Referenced by __clone(), delete(), save(), and toXml().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::getFilterType | ( | ) |
Definition at line 65 of file class.ilDidacticTemplateBlockRoleAction.php.
References $filter_type.
Referenced by save(), and toXml().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::getType | ( | ) |
Get type of template.
Reimplemented from ilDidacticTemplateAction.
Definition at line 170 of file class.ilDidacticTemplateBlockRoleAction.php.
References ilDidacticTemplateAction\TYPE_BLOCK_ROLE.
| ilDidacticTemplateBlockRoleAction::read | ( | ) |
Reimplemented from ilDidacticTemplateAction.
Definition at line 213 of file class.ilDidacticTemplateBlockRoleAction.php.
References $pattern, $query, $res, addFilterPattern(), ilDBConstants\FETCHMODE_OBJECT, ilDidacticTemplateAction\getActionId(), ilDidacticTemplateFilterPatternFactory\lookupPatternsByParentId(), setFilterType(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| ilDidacticTemplateBlockRoleAction::revert | ( | ) |
Implement everthing that is necessary to revert a didactic template return bool.
Reimplemented from ilDidacticTemplateAction.
Definition at line 135 of file class.ilDidacticTemplateBlockRoleAction.php.
References $source, deleteLocalPolicy(), ilDidacticTemplateAction\filterRoles(), and ilDidacticTemplateAction\initSourceObject().
Here is the call graph for this function:| ilDidacticTemplateBlockRoleAction::save | ( | ) |
Write action to db Overwrite for filling additional db fields.
Reimplemented from ilDidacticTemplateAction.
Definition at line 70 of file class.ilDidacticTemplateBlockRoleAction.php.
References $pattern, $query, ilDidacticTemplateAction\getActionId(), getFilterPattern(), getFilterType(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| ilDidacticTemplateBlockRoleAction::setFilterPatterns | ( | array | $patterns | ) |
Set filter patterns.
| ilDidacticTemplateFilterPattern[] | $patterns |
Definition at line 46 of file class.ilDidacticTemplateBlockRoleAction.php.
Referenced by __clone().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::setFilterType | ( | int | $a_type | ) |
Definition at line 60 of file class.ilDidacticTemplateBlockRoleAction.php.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::toXml | ( | ilXmlWriter | $writer | ) |
Reimplemented from ilDidacticTemplateAction.
Definition at line 175 of file class.ilDidacticTemplateBlockRoleAction.php.
References $pattern, ilDidacticTemplateAction\FILTER_PARENT_ROLES, ilDidacticTemplateAction\FILTER_SOURCE_OBJ_ID, ilDidacticTemplateAction\FILTER_SOURCE_TITLE, getFilterPattern(), getFilterType(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:
|
private |
Definition at line 30 of file class.ilDidacticTemplateBlockRoleAction.php.
Referenced by getFilterType().
|
private |
Definition at line 29 of file class.ilDidacticTemplateBlockRoleAction.php.
Referenced by __clone(), addFilterPattern(), delete(), getFilterPattern(), read(), save(), and toXml().