ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
getTemplates () | |
Get templates. More... | |
getObjectType () | |
Get object type. More... | |
readInactive () | |
Read disabled templates. More... | |
Static Public Member Functions | |
static | getInstance () |
Get singelton instance. More... | |
static | getInstanceByObjectType ($a_obj_type) |
Get instance by obj type. More... | |
Protected Member Functions | |
read () | |
Read active didactic templates ilDB $ilDB. More... | |
Private Member Functions | |
__construct ($a_obj_type='') | |
Constructor. More... | |
Private Attributes | |
$templates = array() | |
$obj_type = '' | |
Static Private Attributes | |
static | $instance = null |
static | $instances = null |
Definition at line 12 of file class.ilDidacticTemplateSettings.php.
|
private |
Constructor.
int | $a_id |
Definition at line 25 of file class.ilDidacticTemplateSettings.php.
References read().
|
static |
Get singelton instance.
Definition at line 35 of file class.ilDidacticTemplateSettings.php.
Referenced by ilDidacticTemplateSettingsTableGUI\parse().
|
static |
Get instance by obj type.
string | $a_obj_type |
Definition at line 49 of file class.ilDidacticTemplateSettings.php.
Referenced by ilDidacticTemplateGUI\appendToolbarSwitch(), and ilObjectGUI\initDidacticTemplate().
ilDidacticTemplateSettings::getObjectType | ( | ) |
Get object type.
Definition at line 71 of file class.ilDidacticTemplateSettings.php.
References $obj_type.
Referenced by read(), and readInactive().
ilDidacticTemplateSettings::getTemplates | ( | ) |
Get templates.
Definition at line 62 of file class.ilDidacticTemplateSettings.php.
References $templates, and array.
|
protected |
Read active didactic templates ilDB $ilDB.
Definition at line 110 of file class.ilDidacticTemplateSettings.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and getObjectType().
Referenced by __construct().
ilDidacticTemplateSettings::readInactive | ( | ) |
Read disabled templates.
Definition at line 79 of file class.ilDidacticTemplateSettings.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and getObjectType().
|
staticprivate |
Definition at line 14 of file class.ilDidacticTemplateSettings.php.
|
staticprivate |
Definition at line 15 of file class.ilDidacticTemplateSettings.php.
|
private |
Definition at line 19 of file class.ilDidacticTemplateSettings.php.
Referenced by getObjectType().
|
private |
Definition at line 18 of file class.ilDidacticTemplateSettings.php.
Referenced by getTemplates().