-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQueueEmail.php
More file actions
38 lines (34 loc) · 1.04 KB
/
QueueEmail.php
File metadata and controls
38 lines (34 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
declare(strict_types=1);
/*
* This file is part of the QuidPHP package <https://quidphp.com>
* Author: Pierre-Philippe Emond <emondpph@gmail.com>
* License: https://github.com/quidphp/lemur/blob/master/LICENSE
*/
namespace Quid\Lemur\Row;
use Quid\Core;
use Quid\Lemur;
// queueEmail
// class to deal with a row of the queueEmail table, with cms config
class QueueEmail extends Core\Row\QueueEmail
{
// config
protected static array $config = [
'cacheEmpty'=>false,
'cols'=>[
'json'=>['class'=>Lemur\Col\JsonExport::class]],
'permission'=>[
'contributor'=>['update'=>false,'delete'=>false],
'editor'=>['update'=>false,'delete'=>false],
'subAmin'=>['update'=>false]],
'@cms'=>[
'permission'=>[
'contributor'=>['view'=>false],
'editor'=>['view'=>false],
'subAdmin'=>['lemurInsert'=>false],
'admin'=>['lemurInsert'=>false,'lemurTruncate'=>true]]]
];
}
// init
QueueEmail::__init();
?>