|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Description of ilDidacticTemplateBlockRoleAction. 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 () | |
| delete () | |
| apply () | |
| revert () | |
| getType () | |
| 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 |
Description of ilDidacticTemplateBlockRoleAction.
Definition at line 11 of file class.ilDidacticTemplateBlockRoleAction.php.
| ilDidacticTemplateBlockRoleAction::__construct | ( | int | $action_id = 0 | ) |
Definition at line 17 of file class.ilDidacticTemplateBlockRoleAction.php.
References ilDidacticTemplateAction\$action_id, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilDidacticTemplateBlockRoleAction::__clone | ( | ) |
Definition at line 186 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 22 of file class.ilDidacticTemplateBlockRoleAction.php.
References $pattern.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::apply | ( | ) |
Definition at line 87 of file class.ilDidacticTemplateBlockRoleAction.php.
References blockRole(), ilDidacticTemplateAction\filterRoles(), and ilDidacticTemplateAction\initSourceObject().
Here is the call graph for this function:
|
protected |
Definition at line 100 of file class.ilDidacticTemplateBlockRoleAction.php.
References ilObject\getRefId().
Referenced by apply().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::delete | ( | ) |
Definition at line 75 of file class.ilDidacticTemplateBlockRoleAction.php.
References ilDidacticTemplateAction\getActionId(), and getFilterPattern().
Here is the call graph for this function:
|
protected |
Definition at line 133 of file class.ilDidacticTemplateBlockRoleAction.php.
References ilObject\_lookupTitle(), ilObject\getRefId(), 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 40 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 50 of file class.ilDidacticTemplateBlockRoleAction.php.
References $filter_type.
Referenced by save(), and toXml().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::getType | ( | ) |
Definition at line 155 of file class.ilDidacticTemplateBlockRoleAction.php.
| ilDidacticTemplateBlockRoleAction::read | ( | ) |
Definition at line 197 of file class.ilDidacticTemplateBlockRoleAction.php.
References $res, addFilterPattern(), ilDBConstants\FETCHMODE_OBJECT, ilDidacticTemplateAction\getActionId(), ilDidacticTemplateFilterPatternFactory\lookupPatternsByParentId(), setFilterType(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| ilDidacticTemplateBlockRoleAction::revert | ( | ) |
Definition at line 120 of file class.ilDidacticTemplateBlockRoleAction.php.
References deleteLocalPolicy(), ilDidacticTemplateAction\filterRoles(), and ilDidacticTemplateAction\initSourceObject().
Here is the call graph for this function:| ilDidacticTemplateBlockRoleAction::save | ( | ) |
Definition at line 55 of file class.ilDidacticTemplateBlockRoleAction.php.
References 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 31 of file class.ilDidacticTemplateBlockRoleAction.php.
Referenced by __clone().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::setFilterType | ( | int | $a_type | ) |
Definition at line 45 of file class.ilDidacticTemplateBlockRoleAction.php.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateBlockRoleAction::toXml | ( | ilXmlWriter | $writer | ) |
Definition at line 160 of file class.ilDidacticTemplateBlockRoleAction.php.
References getFilterPattern(), getFilterType(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:
|
private |
Definition at line 15 of file class.ilDidacticTemplateBlockRoleAction.php.
Referenced by getFilterType().
|
private |
Definition at line 14 of file class.ilDidacticTemplateBlockRoleAction.php.
Referenced by __clone(), addFilterPattern(), and getFilterPattern().