ILIAS
Release_5_0_x_branch Revision 61816
|
Stores the applied template id for objects. More...
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 $ilDB, $query, and deleteByRefId().
Referenced by ilObject\applyDidacticTemplate(), and ilDidacticTemplateGUI\switchTemplate().
|
static |
Delete by obj id ilDB $ilDB.
int | $a_obj_id |
Definition at line 40 of file class.ilDidacticTemplateObjSettings.php.
Referenced by ilObject\delete().
|
static |
Delete by ref_id ilDB $ilDB.
int | $a_ref_id |
Definition at line 71 of file class.ilDidacticTemplateObjSettings.php.
Referenced by assignTemplate(), and ilObject\delete().
|
static |
Delete by template id ilDB $ilDB.
int | $a_tpl_id |
Definition at line 56 of file class.ilDidacticTemplateObjSettings.php.
Referenced by ilDidacticTemplateSetting\delete().
|
static |
Lookup template id ilDB $ilDB.
int | $a_ref_id |
Definition at line 19 of file class.ilDidacticTemplateObjSettings.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilContainerGUI\afterUpdate(), ilDidacticTemplateGUI\appendToolbarSwitch(), ilObject\cloneDependencies(), ilDidacticTemplateGUI\confirmTemplateSwitch(), ilObjectGUI\initDidacticTemplate(), and ilDidacticTemplateGUI\switchTemplate().