1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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
'default_value'
=>
static
fn() =>
new
Main
\
Type
\
DateTime
(),
25
]),
26
);
27
}
28
}
Bitrix\Location\Model\RecentAddressTable
Определения
recentaddresstable.php:9
Bitrix\Location\Model\RecentAddressTable\getMap
static getMap()
Определения
recentaddresstable.php:15
Bitrix\Location\Model\RecentAddressTable\getTableName
static getTableName()
Определения
recentaddresstable.php:10
Bitrix\Main\ORM\Data\DataManager
Определения
datamanager.php:35
Bitrix\Main\ORM\Fields\DatetimeField
Определения
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.php:20
Bitrix\Main\ORM\Fields\TextField
Определения
textfield.php:20
Bitrix\Main\Type\DateTime
Определения
datetime.php:9
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\ORM\Fields
Определения
arrayfield.php:9
Bitrix\Main\Type
Определения
collection.php:2
Bitrix\Main
bitrix
modules
location
lib
model
recentaddresstable.php
Создано системой
1.14.0