|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilDidacticTemplateSetting:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. More... | |
| getIconHandler () | |
| getId () | |
| Get id. More... | |
| enable ($a_status) | |
| Set enabled status. More... | |
| isEnabled () | |
| Check if template is enabled. More... | |
| setTitle ($a_title) | |
| Set title. More... | |
| getTitle () | |
| Get title. More... | |
| getPresentationTitle ($a_lng="") | |
| getDescription () | |
| Get description. More... | |
| getPresentationDescription ($a_lng="") | |
| setDescription ($a_description) | |
| Set description. More... | |
| setInfo ($a_info) | |
| Set installation info text. More... | |
| getInfo () | |
| Get installation info text. More... | |
| setType ($a_type) | |
| Set type. More... | |
| getType () | |
| Get type. More... | |
| hasIconSupport (ilObjectDefinition $definition) | |
| setAssignments (array $a_ass) | |
| Set assignments. More... | |
| getAssignments () | |
| Get object assignemnts. More... | |
| addAssignment ($a_obj_type) | |
| Add one assignment obj type. More... | |
| getEffectiveFrom () | |
| setEffectiveFrom ($effective_from) | |
| isAutoGenerated () | |
| isExclusive () | |
| setExclusive ($exclusive) | |
| setIconIdentifier (string $icon_identifier) | |
| getIconIdentifier () | |
| getTranslations () | |
| get all translations from this object More... | |
| delete () | |
| Delete settings. More... | |
| save () | |
| Save settings. More... | |
| update () | |
| Update settings @global ilDB $ilDB. More... | |
| toXml (ilXmlWriter $writer) | |
| Export. More... | |
| __clone () | |
| Implemented clone method. More... | |
| getTranslationObject () | |
| isEffective ($a_node_id) | |
Data Fields | |
| const | TYPE_CREATION = 1 |
Protected Member Functions | |
| setId ($a_id) | |
| Set id. More... | |
| getPresentation ($a_value, $a_lng) | |
| saveEffectiveNodes () | |
| deleteEffectiveNodes () | |
| readEffectiveNodes () | |
| read () | |
| read settings from db More... | |
Private Member Functions | |
| setAutoGenerated ($auto_generated) | |
| DO NOT CHANGE THIS VALUE. More... | |
| saveAssignments () | |
| Save assignments in DB. More... | |
| saveAssignment ($a_obj_type) | |
| Add one object assignment @global ilDB $ilDB. More... | |
| deleteAssignments () | |
| Delete assignments @global ilDB $ilDB. More... | |
Private Attributes | |
| $id = 0 | |
| $enabled = false | |
| $title = '' | |
| $description = '' | |
| $info = '' | |
| $type = self::TYPE_CREATION | |
| $assignments = array() | |
| $effective_from = array() | |
| $auto_generated = false | |
| $exclusive = false | |
| $icon_ide = '' | |
| $iconHandler = null | |
Definition at line 10 of file class.ilDidacticTemplateSetting.php.
| ilDidacticTemplateSetting::__construct | ( | $a_id = 0 | ) |
Constructor.
| int | $a_id |
Definition at line 35 of file class.ilDidacticTemplateSetting.php.
References read(), and setId().
Here is the call graph for this function:| ilDidacticTemplateSetting::__clone | ( | ) |
Implemented clone method.
Definition at line 675 of file class.ilDidacticTemplateSetting.php.
References ilDidacticTemplateCopier\appendCopyInfo(), enable(), getTitle(), setAutoGenerated(), setId(), and setTitle().
Here is the call graph for this function:| ilDidacticTemplateSetting::addAssignment | ( | $a_obj_type | ) |
Add one assignment obj type.
| string | $a_obj_type |
Definition at line 228 of file class.ilDidacticTemplateSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateSetting::delete | ( | ) |
Delete settings.
Definition at line 345 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilDB, $query, ilDidacticTemplateObjSettings\deleteByTemplateId(), deleteEffectiveNodes(), ilDidacticTemplateActionFactory\getActionsByTemplateId(), getIconHandler(), getId(), getTranslationObject(), and isAutoGenerated().
Referenced by ilDidacticTemplateImport\parseActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Delete assignments @global ilDB $ilDB.
Definition at line 509 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilDB, $query, getId(), and isAutoGenerated().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilDidacticTemplateSetting::enable | ( | $a_status | ) |
Set enabled status.
| bool | $a_status |
Definition at line 72 of file class.ilDidacticTemplateSetting.php.
Referenced by __clone(), and read().
Here is the caller graph for this function:| ilDidacticTemplateSetting::getAssignments | ( | ) |
Get object assignemnts.
Definition at line 219 of file class.ilDidacticTemplateSetting.php.
References $assignments.
Referenced by ilDidacticTemplateImport\canUseIcons(), hasIconSupport(), ilDidacticTemplateSettingsGUI\initEditTemplate(), ilDidacticTemplateSettingsTableFilter\isFiltered(), saveAssignments(), and toXml().
Here is the caller graph for this function:| ilDidacticTemplateSetting::getDescription | ( | ) |
Get description.
Definition at line 125 of file class.ilDidacticTemplateSetting.php.
References $description.
Referenced by getPresentationDescription(), getTranslations(), save(), toXml(), and update().
Here is the caller graph for this function:| ilDidacticTemplateSetting::getEffectiveFrom | ( | ) |
Definition at line 236 of file class.ilDidacticTemplateSetting.php.
References $effective_from.
Referenced by ilDidacticTemplateSettingsGUI\initEditTemplate(), isEffective(), ilDidacticTemplateSettingsTableFilter\isFiltered(), saveEffectiveNodes(), and toXml().
Here is the caller graph for this function:| ilDidacticTemplateSetting::getIconHandler | ( | ) |
Definition at line 45 of file class.ilDidacticTemplateSetting.php.
References $iconHandler.
Referenced by ilDidacticTemplateIconHandler\copy(), delete(), ilDidacticTemplateSettingsGUI\initEditTemplate(), ilDidacticTemplateSettingsTableFilter\isFiltered(), and toXml().
Here is the caller graph for this function:| ilDidacticTemplateSetting::getIconIdentifier | ( | ) |
Definition at line 288 of file class.ilDidacticTemplateSetting.php.
References $icon_ide.
Referenced by ilDidacticTemplateIconHandler\copy(), save(), and update().
Here is the caller graph for this function:| ilDidacticTemplateSetting::getId | ( | ) |
Get id.
Definition at line 63 of file class.ilDidacticTemplateSetting.php.
References $id.
Referenced by delete(), deleteAssignments(), deleteEffectiveNodes(), getTranslationObject(), ilDidacticTemplateImport\parseActions(), read(), readEffectiveNodes(), save(), saveAssignment(), saveEffectiveNodes(), toXml(), and update().
Here is the caller graph for this function:| ilDidacticTemplateSetting::getInfo | ( | ) |
Get installation info text.
Definition at line 169 of file class.ilDidacticTemplateSetting.php.
References $info.
Referenced by ilDidacticTemplateSettingsGUI\initEditTemplate(), ilDidacticTemplateSettingsTableFilter\isFiltered(), save(), toXml(), and update().
Here is the caller graph for this function:
|
protected |
Definition at line 320 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilUser, $lang, and getTranslationObject().
Referenced by getPresentationDescription(), and getPresentationTitle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateSetting::getPresentationDescription | ( | $a_lng = "" | ) |
| string | $a_lng |
Definition at line 134 of file class.ilDidacticTemplateSetting.php.
References $DIC, $lng, getDescription(), getPresentation(), and isAutoGenerated().
Referenced by ilDidacticTemplateSettingsGUI\initEditTemplate(), and ilDidacticTemplateSettingsTableFilter\isFiltered().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateSetting::getPresentationTitle | ( | $a_lng = "" | ) |
| string | $a_lng |
Definition at line 108 of file class.ilDidacticTemplateSetting.php.
References $DIC, $lng, getPresentation(), getTitle(), and isAutoGenerated().
Referenced by ilDidacticTemplateSettingsGUI\initEditTemplate(), and ilDidacticTemplateSettingsTableFilter\isFiltered().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateSetting::getTitle | ( | ) |
Get title.
Definition at line 99 of file class.ilDidacticTemplateSetting.php.
References $title.
Referenced by __clone(), getPresentationTitle(), getTranslations(), save(), toXml(), and update().
Here is the caller graph for this function:| ilDidacticTemplateSetting::getTranslationObject | ( | ) |
Definition at line 688 of file class.ilDidacticTemplateSetting.php.
References getId(), and ilMultilingualism\getInstance().
Referenced by delete(), getPresentation(), getTranslations(), and toXml().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateSetting::getTranslations | ( | ) |
get all translations from this object
@access public
Definition at line 299 of file class.ilDidacticTemplateSetting.php.
References $lang, getDescription(), getTitle(), and getTranslationObject().
Referenced by ilDidacticTemplateSettingsGUI\initEditTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateSetting::getType | ( | ) |
| ilDidacticTemplateSetting::hasIconSupport | ( | ilObjectDefinition | $definition | ) |
| ilObjectDefinition | $definition |
Definition at line 196 of file class.ilDidacticTemplateSetting.php.
References getAssignments(), and ilObjectDefinition\isContainer().
Here is the call graph for this function:| ilDidacticTemplateSetting::isAutoGenerated | ( | ) |
Definition at line 252 of file class.ilDidacticTemplateSetting.php.
References $auto_generated.
Referenced by delete(), deleteAssignments(), getPresentationDescription(), getPresentationTitle(), ilDidacticTemplateSettingsGUI\initEditTemplate(), save(), saveAssignment(), and saveAssignments().
Here is the caller graph for this function:| ilDidacticTemplateSetting::isEffective | ( | $a_node_id | ) |
| int | $a_node_id |
Definition at line 698 of file class.ilDidacticTemplateSetting.php.
References $DIC, and getEffectiveFrom().
Here is the call graph for this function:| ilDidacticTemplateSetting::isEnabled | ( | ) |
Check if template is enabled.
Definition at line 81 of file class.ilDidacticTemplateSetting.php.
References $enabled.
Referenced by ilDidacticTemplateSettingsGUI\initEditTemplate(), ilDidacticTemplateSettingsTableFilter\isFiltered(), save(), and update().
Here is the caller graph for this function:| ilDidacticTemplateSetting::isExclusive | ( | ) |
Definition at line 270 of file class.ilDidacticTemplateSetting.php.
References $exclusive.
Referenced by ilDidacticTemplateSettingsGUI\initEditTemplate(), save(), toXml(), and update().
Here is the caller graph for this function:
|
protected |
read settings from db
Read settings
Read assigned objects
Definition at line 560 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilDB, $query, $res, addAssignment(), enable(), ilDBConstants\FETCHMODE_OBJECT, getId(), readEffectiveNodes(), setAutoGenerated(), setDescription(), setExclusive(), setIconIdentifier(), setInfo(), setTitle(), and setType().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 487 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, getId(), and setEffectiveFrom().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateSetting::save | ( | ) |
Save settings.
Definition at line 382 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilDB, $query, getDescription(), getIconIdentifier(), getId(), getInfo(), getTitle(), getType(), isAutoGenerated(), isEnabled(), isExclusive(), saveAssignments(), setId(), and ilDBConstants\T_TEXT.
Here is the call graph for this function:
|
private |
Add one object assignment @global ilDB $ilDB.
| string | $a_obj_type |
Definition at line 431 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilDB, $query, getId(), and isAutoGenerated().
Referenced by saveAssignments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Save assignments in DB.
Definition at line 414 of file class.ilDidacticTemplateSetting.php.
References getAssignments(), isAutoGenerated(), and saveAssignment().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 452 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilDB, $query, getEffectiveFrom(), and getId().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateSetting::setAssignments | ( | array | $a_ass | ) |
Set assignments.
| array | $a_ass |
Definition at line 210 of file class.ilDidacticTemplateSetting.php.
|
private |
DO NOT CHANGE THIS VALUE.
| bool | $auto_generated |
Definition at line 262 of file class.ilDidacticTemplateSetting.php.
References $auto_generated.
Referenced by __clone(), and read().
Here is the caller graph for this function:| ilDidacticTemplateSetting::setDescription | ( | $a_description | ) |
Set description.
| string | $a_description |
Definition at line 151 of file class.ilDidacticTemplateSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateSetting::setEffectiveFrom | ( | $effective_from | ) |
| int[] | $effective_from |
Definition at line 244 of file class.ilDidacticTemplateSetting.php.
References $effective_from.
Referenced by readEffectiveNodes().
Here is the caller graph for this function:| ilDidacticTemplateSetting::setExclusive | ( | $exclusive | ) |
| boolean | $exclusive |
Definition at line 278 of file class.ilDidacticTemplateSetting.php.
References $exclusive.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateSetting::setIconIdentifier | ( | string | $icon_identifier | ) |
Definition at line 283 of file class.ilDidacticTemplateSetting.php.
Referenced by read().
Here is the caller graph for this function:
|
protected |
Set id.
| int | $a_id |
Definition at line 54 of file class.ilDidacticTemplateSetting.php.
Referenced by __clone(), __construct(), and save().
Here is the caller graph for this function:| ilDidacticTemplateSetting::setInfo | ( | $a_info | ) |
Set installation info text.
| string | $a_info |
Definition at line 160 of file class.ilDidacticTemplateSetting.php.
References info().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDidacticTemplateSetting::setTitle | ( | $a_title | ) |
Set title.
| string | $a_title |
Definition at line 90 of file class.ilDidacticTemplateSetting.php.
Referenced by __clone(), and read().
Here is the caller graph for this function:| ilDidacticTemplateSetting::setType | ( | $a_type | ) |
Set type.
| int | $a_type |
Definition at line 178 of file class.ilDidacticTemplateSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilDidacticTemplateSetting::toXml | ( | ilXmlWriter | $writer | ) |
Export.
| ilXmlWriter | $writer |
Definition at line 607 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilSetting, $info, $type, ilDidacticTemplateActionFactory\getActionsByTemplateId(), getAssignments(), getDescription(), getEffectiveFrom(), getIconHandler(), getId(), getInfo(), getTitle(), getTranslationObject(), getType(), isExclusive(), TYPE_CREATION, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:| ilDidacticTemplateSetting::update | ( | ) |
Update settings @global ilDB $ilDB.
Definition at line 530 of file class.ilDidacticTemplateSetting.php.
References $DIC, $ilDB, $query, deleteAssignments(), deleteEffectiveNodes(), getDescription(), getIconIdentifier(), getId(), getInfo(), getTitle(), getType(), isEnabled(), isExclusive(), saveAssignments(), saveEffectiveNodes(), and ilDBConstants\T_TEXT.
Here is the call graph for this function:
|
private |
Definition at line 21 of file class.ilDidacticTemplateSetting.php.
Referenced by getAssignments().
|
private |
Definition at line 23 of file class.ilDidacticTemplateSetting.php.
Referenced by isAutoGenerated(), and setAutoGenerated().
|
private |
Definition at line 18 of file class.ilDidacticTemplateSetting.php.
Referenced by getDescription().
|
private |
Definition at line 22 of file class.ilDidacticTemplateSetting.php.
Referenced by getEffectiveFrom(), and setEffectiveFrom().
|
private |
Definition at line 16 of file class.ilDidacticTemplateSetting.php.
Referenced by isEnabled().
|
private |
Definition at line 24 of file class.ilDidacticTemplateSetting.php.
Referenced by isExclusive(), and setExclusive().
|
private |
Definition at line 26 of file class.ilDidacticTemplateSetting.php.
Referenced by getIconIdentifier().
|
private |
Definition at line 28 of file class.ilDidacticTemplateSetting.php.
Referenced by getIconHandler().
|
private |
Definition at line 15 of file class.ilDidacticTemplateSetting.php.
Referenced by getId().
|
private |
Definition at line 19 of file class.ilDidacticTemplateSetting.php.
|
private |
Definition at line 17 of file class.ilDidacticTemplateSetting.php.
Referenced by getTitle().
|
private |
Definition at line 20 of file class.ilDidacticTemplateSetting.php.
| const ilDidacticTemplateSetting::TYPE_CREATION = 1 |
Definition at line 12 of file class.ilDidacticTemplateSetting.php.
Referenced by ilDidacticTemplateImport\parseSettings(), and toXml().