15 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateObjSettings.php';
27 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateActionFactory.php';
30 $action->setRefId($a_ref_id);
35 include_once
'./Services/Object/classes/class.ilObjectFactory.php';
37 $obj = $factory->getInstanceByRefId($a_ref_id,
false);
40 $obj->applyDidacticTemplate($a_new_tpl_id);
static lookupTemplateId($a_ref_id)
Lookup template id ilDB $ilDB.
Class ilObject Basic functions for all objects.
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.