ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Factory for didactic template actions. More...
Static Public Member Functions | |
static | factoryByType ($a_action_type) |
Get action class by type. More... | |
static | factoryByTypeAndId ($a_action_id, $a_action_type) |
Get instance by id and type. More... | |
static | getActionsByTemplateId ($a_tpl_id) |
Get actions of one template. More... | |
Factory for didactic template actions.
Definition at line 12 of file class.ilDidacticTemplateActionFactory.php.
|
static |
Get action class by type.
string | $a_action_type |
Definition at line 19 of file class.ilDidacticTemplateActionFactory.php.
References ilDidacticTemplateAction\TYPE_BLOCK_ROLE, ilDidacticTemplateAction\TYPE_LOCAL_POLICY, and ilDidacticTemplateAction\TYPE_LOCAL_ROLE.
|
static |
Get instance by id and type.
int | $a_action_id | |
int | $a_actions_type |
Definition at line 44 of file class.ilDidacticTemplateActionFactory.php.
References ilDidacticTemplateAction\TYPE_BLOCK_ROLE, ilDidacticTemplateAction\TYPE_LOCAL_POLICY, and ilDidacticTemplateAction\TYPE_LOCAL_ROLE.
|
static |
Get actions of one template.
int | $a_tpl_id |
Definition at line 68 of file class.ilDidacticTemplateActionFactory.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObject\applyDidacticTemplate(), ilRbacAdmin\applyMovedObjectDidacticTemplates(), ilDidacticTemplateSetting\delete(), ilDidacticTemplateCopier\start(), ilDidacticTemplateUtils\switchTemplate(), and ilDidacticTemplateSetting\toXml().