15 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateObjSettings.php';
23 if ($current_tpl_id) {
26 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateActionFactory.php';
28 $action->setRefId($a_ref_id);
33 include_once
'./Services/Object/classes/class.ilObjectFactory.php';
35 $obj =
$factory->getInstanceByRefId($a_ref_id,
false);
37 $obj->applyDidacticTemplate($a_new_tpl_id);
static lookupTemplateId($a_ref_id)
Lookup template id ilDB $ilDB.
Utilities for didactic templates.
static switchTemplate($a_ref_id, $a_new_tpl_id)
static getLogger($a_component_id)
Get component logger.
static getActionsByTemplateId($a_tpl_id)
Get actions of one template.