4 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateAction.php';
21 switch($a_action_type)
24 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateLocalPolicyAction.php';
28 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateLocalRoleAction.php';
32 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateBlockRoleAction.php';
46 switch($a_action_type)
49 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateLocalPolicyAction.php';
53 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateLocalRoleAction.php';
57 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateBlockRoleAction.php';
72 $query =
'SELECT id, type_id FROM didactic_tpl_a '.
73 'WHERE tpl_id = '.$ilDB->quote($a_tpl_id,
'integer');
79 $actions[] = self::factoryByTypeAndId(
$row->id,
$row->type_id);
81 return (
array) $actions;
static factoryByTypeAndId($a_action_id, $a_action_type)
Get instance by id and type.
Description of ilDidacticTemplateBlockRoleAction.
Factory for didactic template actions.
Create styles array
The data for the language used.
represents a creation of local roles action
static getActionsByTemplateId($a_tpl_id)
Get actions of one template.
static factoryByType($a_action_type)
Get action class by type.