| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Stores the applied template id for objects. More...
 Collaboration diagram for ilDidacticTemplateObjSettings:
 Collaboration diagram for ilDidacticTemplateObjSettings:| Static Public Member Functions | |
| static | lookupTemplateId ($a_ref_id) | 
| Lookup template id  ilDB $ilDB. | |
| static | deleteByObjId ($a_obj_id) | 
| Delete by obj id  ilDB $ilDB. | |
| static | deleteByTemplateId ($a_tpl_id) | 
| Delete by template id  ilDB $ilDB. | |
| static | deleteByRefId ($a_ref_id) | 
| Delete by ref_id  ilDB $ilDB. | |
| static | assignTemplate ($a_ref_id, $a_obj_id, $a_tpl_id) | 
| Assign template to object  ilDB $ilDB. | |
Stores the applied template id for objects.
Definition at line 10 of file class.ilDidacticTemplateObjSettings.php.
| 
 | static | 
Assign template to object ilDB $ilDB.
| int | $a_obj_id | |
| int | $a_tpl_id | 
Definition at line 87 of file class.ilDidacticTemplateObjSettings.php.
References $query, and deleteByRefId().
Referenced by ilObject\applyDidacticTemplate(), and ilDidacticTemplateGUI\switchTemplate().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Delete by obj id ilDB $ilDB.
| int | $a_obj_id | 
Definition at line 40 of file class.ilDidacticTemplateObjSettings.php.
References $query.
Referenced by ilObject\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Delete by ref_id ilDB $ilDB.
| int | $a_ref_id | 
Definition at line 71 of file class.ilDidacticTemplateObjSettings.php.
References $query.
Referenced by assignTemplate(), and ilObject\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Delete by template id ilDB $ilDB.
| int | $a_tpl_id | 
Definition at line 56 of file class.ilDidacticTemplateObjSettings.php.
References $query.
| 
 | static | 
Lookup template id ilDB $ilDB.
| int | $a_ref_id | 
Definition at line 19 of file class.ilDidacticTemplateObjSettings.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilContainerGUI\afterUpdate(), ilDidacticTemplateGUI\appendToolbarSwitch(), ilObject\cloneDependencies(), ilDidacticTemplateGUI\confirmTemplateSwitch(), ilObjectGUI\initDidacticTemplate(), and ilDidacticTemplateGUI\switchTemplate().
 Here is the caller graph for this function:
 Here is the caller graph for this function: