|
ILIAS
Release_4_2_x_branch Revision 61807
|
represents a creation of local roles action More...
Inheritance diagram for ilDidacticTemplateLocalRoleAction:
Collaboration diagram for ilDidacticTemplateLocalRoleAction:Public Member Functions | |
| __construct ($a_action_id=0) | |
| Constructor. | |
| getType () | |
| Get action type. | |
| setRoleTemplateId ($a_role_template_id) | |
| Set role template id. | |
| getRoleTemplateId () | |
| get role template id | |
| apply () | |
| Apply action. | |
| revert () | |
| Revert action. | |
| save () | |
| Create new action. | |
| delete () | |
| Delete ilDB $ilDB. | |
| toXml (ilXmlWriter $writer) | |
| Write xml of template action. | |
| read () | |
| Read db entry ilDB $ilDB. | |
Public Member Functions inherited from ilDidacticTemplateAction | |
| getActionId () | |
| Get action id. | |
| setActionId ($a_action_id) | |
| Set action id. | |
| setType ($a_type_id) | |
| Set type id. | |
| setTemplateId ($a_id) | |
| Set template id. | |
| getTemplateId () | |
| Get template id. | |
| setRefId ($a_ref_id) | |
| Set ref id of target object. | |
| getRefId () | |
| Get ref id of target object. | |
| __clone () | |
| Clone method. | |
Private Attributes | |
| $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 | PATTERN_PARENT_TYPE = 'action' |
Protected Member Functions inherited from ilDidacticTemplateAction | |
| initSourceObject () | |
| Init the source object. | |
| filterRoles (ilObject $source) | |
| Filter roles. | |
represents a creation of local roles action
Definition at line 12 of file class.ilDidacticTemplateLocalRoleAction.php.
| ilDidacticTemplateLocalRoleAction::__construct | ( | $a_action_id = 0 | ) |
Constructor.
| int | $a_action_id |
Reimplemented from ilDidacticTemplateAction.
Definition at line 21 of file class.ilDidacticTemplateLocalRoleAction.php.
| ilDidacticTemplateLocalRoleAction::apply | ( | ) |
Apply action.
Reimplemented from ilDidacticTemplateAction.
Definition at line 56 of file class.ilDidacticTemplateLocalRoleAction.php.
References $GLOBALS, ilObject\_lookupDescription(), ilObject\_lookupTitle(), ilObjectFactory\getInstanceByRefId(), getRoleTemplateId(), and ilDidacticTemplateAction\initSourceObject().
Here is the call graph for this function:| ilDidacticTemplateLocalRoleAction::delete | ( | ) |
Delete ilDB $ilDB.
Reimplemented from ilDidacticTemplateAction.
Definition at line 131 of file class.ilDidacticTemplateLocalRoleAction.php.
References $ilDB, $query, and ilDidacticTemplateAction\getActionId().
Here is the call graph for this function:| ilDidacticTemplateLocalRoleAction::getRoleTemplateId | ( | ) |
get role template id
Definition at line 48 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 action type.
Reimplemented from ilDidacticTemplateAction.
Definition at line 30 of file class.ilDidacticTemplateLocalRoleAction.php.
References ilDidacticTemplateAction\TYPE_LOCAL_ROLE.
| ilDidacticTemplateLocalRoleAction::read | ( | ) |
Read db entry ilDB $ilDB.
Reimplemented from ilDidacticTemplateAction.
Definition at line 178 of file class.ilDidacticTemplateLocalRoleAction.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, ilDidacticTemplateAction\getActionId(), and setRoleTemplateId().
Here is the call graph for this function:| ilDidacticTemplateLocalRoleAction::revert | ( | ) |
Revert action.
Reimplemented from ilDidacticTemplateAction.
Definition at line 100 of file class.ilDidacticTemplateLocalRoleAction.php.
| ilDidacticTemplateLocalRoleAction::save | ( | ) |
Create new action.
Reimplemented from ilDidacticTemplateAction.
Definition at line 110 of file class.ilDidacticTemplateLocalRoleAction.php.
References $ilDB, $query, $res, ilDidacticTemplateAction\getActionId(), and getRoleTemplateId().
Here is the call graph for this function:| ilDidacticTemplateLocalRoleAction::setRoleTemplateId | ( | $a_role_template_id | ) |
Set role template id.
| int | $a_role_template_id |
Definition at line 39 of file class.ilDidacticTemplateLocalRoleAction.php.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateLocalRoleAction::toXml | ( | ilXmlWriter | $writer | ) |
Write xml of template action.
| ilXmlWriter | $writer |
Reimplemented from ilDidacticTemplateAction.
Definition at line 148 of file class.ilDidacticTemplateLocalRoleAction.php.
References ilObject\_lookupType(), ilXmlWriter\appendXML(), getRoleTemplateId(), ilRoleXmlExport\MODE_DTPL, ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:
|
private |
Definition at line 15 of file class.ilDidacticTemplateLocalRoleAction.php.
Referenced by getRoleTemplateId().