ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilMailTemplateService. 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... | |
Protected Member Functions | |
getContextInstance ($a_component, $a_id, $a_class, $a_path) | |
Static Protected Member Functions | |
static | createEntry (ilMailTemplateContext $a_context, $a_component, $a_class, $a_path) |
Class ilMailTemplateService.
Definition at line 11 of file class.ilMailTemplateService.php.
|
static |
string | $a_component | |
array | $a_new_templates |
Definition at line 17 of file class.ilMailTemplateService.php.
References $GLOBALS, $query, and $row.
Referenced by ilObjDefReader\handlerEndTag().
|
staticprotected |
ilMailTemplateContext | $a_context | |
string | $a_component | |
string | $a_class | |
string | $a_path |
Definition at line 188 of file class.ilMailTemplateService.php.
References $GLOBALS, $query, $res, $row, and ilMailTemplateContext\getId().
Referenced by insertFromXML().
|
protected |
string | $a_component | |
string | $a_id | |
string | $a_class | |
string | $a_path |
Definition at line 137 of file class.ilMailTemplateService.php.
References $GLOBALS.
Referenced by getTemplateContexts(), and insertFromXML().
|
static |
string | $a_id |
ilMailException |
Definition at line 80 of file class.ilMailTemplateService.php.
References getTemplateContexts().
Referenced by ilMailFormGUI\getAjaxPlaceholdersById(), ilMailTemplateGUI\getAjaxPlaceholdersById(), ilMailFormGUI\getTemplateDataById(), ilMailTemplateGUI\getTemplateForm(), ilMailTemplateGUI\insertTemplate(), ilMail\replacePlaceholders(), 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 97 of file class.ilMailTemplateService.php.
References $GLOBALS, $query, $row, and getContextInstance().
Referenced by getTemplateContextById(), ilMailTemplateGUI\getTemplateForm(), and ilMailTemplateGUI\showTemplates().
|
static |
string | $a_component | |
string | $a_id | |
string | $a_class | |
string | $a_path |
Definition at line 61 of file class.ilMailTemplateService.php.
References $GLOBALS, createEntry(), and getContextInstance().
Referenced by ilObjDefReader\handlerBeginTag().