15        include_once 
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateObjSettings.php';
 
   23        if ($current_tpl_id) {
 
   26            include_once 
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateActionFactory.php';
 
   33        include_once 
'./Services/Object/classes/class.ilObjectFactory.php';
 
   35        $obj = 
$factory->getInstanceByRefId($a_ref_id, 
false);
 
   37            $obj->applyDidacticTemplate($a_new_tpl_id);
 
An exception for terminatinating execution or to throw for unit testing.
static getActionsByTemplateId($a_tpl_id)
Get actions of one template.
static lookupTemplateId($a_ref_id)
Lookup template id @global ilDB $ilDB.
Utilities for didactic templates.
static switchTemplate($a_ref_id, $a_new_tpl_id)
static getLogger($a_component_id)
Get component logger.
Class ilObject Basic functions for all objects.