Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
usersignature.php
1
<?php
2
3
namespace
Bitrix\Mail\Internals
;
4
5
use
Bitrix\Mail\Internals\Entity\UserSignature
;
6
use
Bitrix\Main\ORM\Data\DataManager
;
7
use
Bitrix\Main\Entity
;
8
25
class
UserSignatureTable
extends
DataManager
26
{
27
const
TYPE_ADDRESS
=
'address'
;
28
const
TYPE_SENDER
=
'sender'
;
29
33
public
static
function
getTableName
()
34
{
35
return
'b_mail_user_signature'
;
36
}
37
41
public
static
function
getMap
()
42
{
43
return
[
44
new
Entity\IntegerField
(
'ID'
, [
45
'primary'
=>
true
,
46
'autocomplete'
=>
true
,
47
]),
48
new
Entity\IntegerField
(
'USER_ID'
, [
49
'required'
=>
true
,
50
]),
51
new
Entity\TextField
(
'SIGNATURE'
),
52
new
Entity\StringField
(
'SENDER'
),
53
];
54
}
55
59
public
static
function
getObjectClass
()
60
{
61
return
UserSignature::class;
62
}
63
}
Bitrix\Mail\Internals\Entity\UserSignature
Definition
usersignature.php:8
Bitrix\Mail\Internals\UserSignatureTable
Definition
usersignature.php:26
Bitrix\Mail\Internals\UserSignatureTable\getMap
static getMap()
Definition
usersignature.php:41
Bitrix\Mail\Internals\UserSignatureTable\TYPE_SENDER
const TYPE_SENDER
Definition
usersignature.php:28
Bitrix\Mail\Internals\UserSignatureTable\TYPE_ADDRESS
const TYPE_ADDRESS
Definition
usersignature.php:27
Bitrix\Mail\Internals\UserSignatureTable\getObjectClass
static getObjectClass()
Definition
usersignature.php:59
Bitrix\Mail\Internals\UserSignatureTable\getTableName
static getTableName()
Definition
usersignature.php:33
Bitrix\Main\ORM\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Main\ORM\Fields\TextField
Definition
textfield.php:20
Bitrix\Mail\Internals
Definition
domainemail.php:3
modules
mail
lib
internals
usersignature.php
Создано системой
1.10.0