ILIAS
Release_5_0_x_branch Revision 61816
|
Factory for didactic template actions. More...
Static Public Member Functions | |
static | factoryByType ($a_action_type) |
Get action class by type. | |
static | factoryByTypeAndId ($a_action_id, $a_action_type) |
Get instance by id and type. | |
static | getActionsByTemplateId ($a_tpl_id) |
Get actions of one template. |
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.
Referenced by getActionsByTemplateId().
|
static |
Get actions of one template.
int | $a_tpl_id |
Definition at line 68 of file class.ilDidacticTemplateActionFactory.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and factoryByTypeAndId().
Referenced by ilObject\applyDidacticTemplate(), ilDidacticTemplateSetting\delete(), ilDidacticTemplateCopier\start(), ilDidacticTemplateGUI\switchTemplate(), and ilDidacticTemplateSetting\toXml().