Class ilMailTemplateDataProvider.
More...
◆ __construct()
ilMailTemplateDataProvider::__construct |
( |
| ) |
|
◆ deleteTemplates()
ilMailTemplateDataProvider::deleteTemplates |
( |
|
$tpl_ids = array() | ) |
|
- Parameters
-
Definition at line 86 of file class.ilMailTemplateDataProvider.php.
88 if (count($tpl_ids) > 0) {
89 $this->db->manipulate(
91 DELETE FROM mail_man_tpl WHERE ' .
92 $this->db->in(
'tpl_id', $tpl_ids,
false,
'integer')
◆ getTableData()
ilMailTemplateDataProvider::getTableData |
( |
| ) |
|
- Returns
- array
Definition at line 48 of file class.ilMailTemplateDataProvider.php.
References $list, and array.
51 foreach ($this->mail_templates as $objMailTpl) {
53 'tpl_id' => $objMailTpl->getTplId(),
54 'title' => $objMailTpl->getTitle(),
55 'context' => $objMailTpl->getContext(),
56 'lang' => $objMailTpl->getLang()
if(isset($_REQUEST['delete'])) $list
Create styles array
The data for the language used.
◆ getTemplateByContextId()
ilMailTemplateDataProvider::getTemplateByContextId |
( |
|
$context_id | ) |
|
◆ getTemplateById()
ilMailTemplateDataProvider::getTemplateById |
( |
|
$tpl_id | ) |
|
◆ read()
ilMailTemplateDataProvider::read |
( |
| ) |
|
|
private |
◆ $db
ilMailTemplateDataProvider::$db |
|
protected |
◆ $mail_templates
ilMailTemplateDataProvider::$mail_templates = array() |
|
protected |
The documentation for this class was generated from the following file: