Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
recentaddresstable.php
1
<?php
2
3
namespace
Bitrix\Location\Model
;
4
5
use
Bitrix\Main
;
6
use
Bitrix\Main\ORM\Fields
;
7
8
class
RecentAddressTable
extends
Main\ORM\Data\DataManager
9
{
10
public
static
function
getTableName
()
11
{
12
return
'b_location_recent_address'
;
13
}
14
15
public
static
function
getMap
()
16
{
17
return
array(
18
(
new
Fields\
IntegerField
(
'ID'
))
19
->configurePrimary()
20
->configureAutocomplete(),
21
new
Fields\
IntegerField
(
'USER_ID'
),
22
new
Fields\
TextField
(
'ADDRESS'
),
23
new
Fields\
DatetimeField
(
'USED_AT'
),
24
);
25
}
26
}
Bitrix\Location\Model\RecentAddressTable
Definition
recentaddresstable.php:9
Bitrix\Location\Model\RecentAddressTable\getMap
static getMap()
Definition
recentaddresstable.php:15
Bitrix\Location\Model\RecentAddressTable\getTableName
static getTableName()
Definition
recentaddresstable.php:10
Bitrix\Main\ORM\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Fields\DatetimeField
Definition
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\TextField
Definition
textfield.php:20
Bitrix\Location\Model
Definition
addressfieldtable.php:3
Bitrix\Main\ORM\Fields
Definition
arrayfield.php:9
Bitrix\Main
modules
location
lib
model
recentaddresstable.php
Создано системой
1.10.0