1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
sitedomain.php
См. документацию.
1
<?php
8
9
namespace
Bitrix\Main;
10
11
use Bitrix\Main\ORM\Fields;
12
use Bitrix\Main\ORM\Data\Internal\DeleteByFilterTrait;
13
30
class
SiteDomainTable
extends
Entity\DataManager
31
{
32
use DeleteByFilterTrait;
33
34
public
static
function
getTableName
()
35
{
36
return
'b_lang_domain'
;
37
}
38
39
public
static
function
getMap
()
40
{
41
$connection
=
Application::getConnection
();
42
$helper =
$connection
->getSqlHelper();
43
44
return
array
(
45
'LID'
=>
array
(
46
'data_type'
=>
'string'
,
47
'primary'
=>
true
,
48
),
49
'DOMAIN'
=>
array
(
50
'data_type'
=>
'string'
,
51
'primary'
=>
true
,
52
),
53
'SITE'
=>
array
(
54
'data_type'
=>
'Bitrix\Main\Site'
,
55
'reference'
=>
array
(
'=this.LID'
=>
'ref.LID'
),
56
),
57
new
Fields
\
ExpressionField
(
'DOMAIN_LENGTH'
, $helper->getLengthFunction(
'%s'
),
'DOMAIN'
),
58
);
59
}
60
}
$connection
$connection
Определения
actionsdefinitions.php:38
Bitrix\Main\Application\getConnection
static getConnection($name="")
Определения
application.php:638
Bitrix\Main\ORM\Fields\ExpressionField
Определения
expressionfield.php:25
Bitrix\Main\SiteDomainTable
Определения
sitedomain.php:31
Bitrix\Main\SiteDomainTable\getMap
static getMap()
Определения
sitedomain.php:39
Bitrix\Main\SiteDomainTable\getTableName
static getTableName()
Определения
sitedomain.php:34
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
modules
main
lib
sitedomain.php
Создано системой
1.14.0