ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilMailTemplateContextService. More...
Static Public Member Functions | |
static | clearFromXml ($a_component, array $a_new_templates) |
static | insertFromXML ($a_component, $a_id, $a_class, $a_path) |
static | getTemplateContextById ($a_id) |
static | getTemplateContexts ($a_id=null) |
Returns an array of mail template contexts, the key of each entry matches its id. More... | |
Static Protected Member Functions | |
static | getContextInstance ($a_component, $a_id, $a_class, $a_path) |
static | createEntry (ilMailTemplateContext $a_context, $a_component, $a_class, $a_path) |
Class ilMailTemplateContextService.
Definition at line 7 of file class.ilMailTemplateContextService.php.
|
static |
string | $a_component | |
array | $a_new_templates |
Definition at line 13 of file class.ilMailTemplateContextService.php.
Referenced by ilObjDefReader\handlerEndTag().
|
staticprotected |
ilMailTemplateContext | $a_context | |
string | $a_component | |
string | $a_class | |
string | $a_path |
Definition at line 170 of file class.ilMailTemplateContextService.php.
References $DIC, $query, $res, and ilMailTemplateContext\getId().
Referenced by insertFromXML().
|
staticprotected |
string | $a_component | |
string | $a_id | |
string | $a_class | |
string | $a_path |
Definition at line 130 of file class.ilMailTemplateContextService.php.
References $context, and $DIC.
Referenced by getTemplateContexts(), and insertFromXML().
|
static |
string | $a_id |
ilMailException |
Definition at line 76 of file class.ilMailTemplateContextService.php.
References getTemplateContexts().
Referenced by ilMailTemplateGUI\getAjaxPlaceholdersById(), ilMailFormGUI\getTemplateDataById(), ilMailTemplateGUI\getTemplateForm(), ilMailTemplateGUI\insertTemplate(), ilMail\replacePlaceholders(), ilExAssignmentReminder\sentReminderPlaceholders(), ilObjSurvey\sentReminderPlaceholders(), ilMailFormGUI\showForm(), and ilMailTemplateGUI\updateTemplate().
|
static |
Returns an array of mail template contexts, the key of each entry matches its id.
null | string | array | $a_id |
Definition at line 92 of file class.ilMailTemplateContextService.php.
References $context, $DIC, $query, and getContextInstance().
Referenced by ilMailTemplateTableGUI\__construct(), getTemplateContextById(), ilMailTemplateGUI\getTemplateForm(), and ilMailTemplateGUI\showTemplates().
|
static |
string | $a_component | |
string | $a_id | |
string | $a_class | |
string | $a_path |
Definition at line 57 of file class.ilMailTemplateContextService.php.
References $context, $DIC, createEntry(), and getContextInstance().
Referenced by ilObjDefReader\handlerBeginTag().