1C-Bitrix
25.700.0
Toggle main menu visibility
Титульная страница
Пространства имен
Пространства имен
Члены пространств имен
Указатель
$
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Функции
_
a
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
Переменные
$
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
v
w
Перечисления
a
b
c
d
e
f
g
l
m
n
o
p
r
s
t
u
v
w
Элементы перечислений
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Структуры данных
Структуры данных
Алфавитный указатель структур данных
Иерархия классов
Поля структур
Указатель
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Функции
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Переменные
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Перечисления
Элементы перечислений
Файлы
Файлы
Список членов всех файлов
Указатель
$
(
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
б
в
к
л
о
п
с
т
ю
Функции
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Переменные
$
(
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
б
в
к
л
о
п
с
т
ю
Блог
Хостинг
•
Указатель
Структуры данных
Пространства имен
Файлы
Функции
Переменные
Перечисления
Элементы перечислений
Страницы
Загрузка...
Поиск...
Не найдено
agreement.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sender\Internals\Model;
4
5
use Bitrix\Main\Entity;
6
use Bitrix\Main\Type\DateTime;
7
8
26
class
AgreementTable
extends
Entity\DataManager
27
{
33
public
static
function
getTableName
()
34
{
35
return
'b_sender_agreement'
;
36
}
33
public
static
function
getTableName
() {
…
}
37
43
public
static
function
getMap
()
44
{
45
return
array
(
46
new
Entity
\
IntegerField
(
'ID'
,
array
(
47
'primary'
=>
true
,
48
'autocomplete'
=>
true
49
)),
50
new
Entity
\
IntegerField
(
'USER_ID'
,
array
(
51
'required'
=>
true
52
)),
53
new
Entity
\
StringField
(
'NAME'
,
array
(
54
'validation'
=>
function
()
55
{
56
return
array
(
57
new
Entity
\
Validator
\Length(
null
, 100),
58
);
59
}
60
)),
61
new
Entity\StringField
(
'EMAIL'
,
array
(
62
'required'
=>
false
,
63
'validation'
=>
function
()
64
{
65
return
array
(
66
new
Entity
\
Validator
\Length(
null
, 255),
67
);
68
}
69
)),
70
new
Entity
\
DatetimeField
(
'DATE'
,
array
(
71
'required'
=>
true
,
72
'default_value'
=>
new
DateTime
()
73
)),
74
new
Entity\StringField
(
'IP_ADDRESS'
,
array
(
75
'required'
=>
true
,
76
'validation'
=>
function
()
77
{
78
return
array
(
79
new
Entity
\
Validator
\Length(
null
, 39),
80
);
81
}
82
)),
83
);
84
}
43
public
static
function
getMap
() {
…
}
85
}
26
class
AgreementTable
extends
Entity\DataManager
{
…
};
Bitrix\Main\Access\Entity\DataManager
Определения
datamanager.php:15
Bitrix\Main\ORM\Fields\DatetimeField
Определения
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Определения
stringfield.php:20
Bitrix\Main\Type\DateTime
Определения
datetime.php:9
Bitrix\Sender\Internals\Model\AgreementTable
Определения
agreement.php:27
Bitrix\Sender\Internals\Model\AgreementTable\getMap
static getMap()
Определения
agreement.php:43
Bitrix\Sender\Internals\Model\AgreementTable\getTableName
static getTableName()
Определения
agreement.php:33
Bitrix\Sender\Recipient\Validator
Определения
validator.php:19
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Entity
Определения
ufield.php:9
bitrix
modules
sender
lib
internals
model
agreement.php
Создано системой
1.14.0