1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
searchengine.php
См. документацию.
1
<?php
8
namespace
Bitrix\Seo;
9
10
use Bitrix\Main\Entity;
11
28
class
SearchEngineTable
extends
Entity\DataManager
29
{
30
const
INACTIVE
=
'N'
;
31
const
ACTIVE
=
'Y'
;
32
33
public
static
function
getFilePath
()
34
{
35
return
__FILE__;
36
}
37
38
public
static
function
getTableName
()
39
{
40
return
'b_seo_search_engine'
;
41
}
42
43
public
static
function
getMap
()
44
{
45
$fieldsMap =
array
(
46
'ID'
=>
array
(
47
'data_type'
=>
'integer'
,
48
'primary'
=>
true
,
49
'autocomplete'
=>
true
,
50
),
51
'CODE'
=>
array
(
52
'data_type'
=>
'string'
,
53
'required'
=>
true
,
54
),
55
'ACTIVE'
=>
array
(
56
'data_type'
=>
'boolean'
,
57
'values'
=>
array
(self::INACTIVE, self::ACTIVE)
58
),
59
'SORT'
=>
array
(
60
'data_type'
=>
'integer'
,
61
),
62
'NAME'
=>
array
(
63
'data_type'
=>
'string'
,
64
),
65
'CLIENT_ID'
=>
array
(
66
'data_type'
=>
'string'
,
67
),
68
'CLIENT_SECRET'
=>
array
(
69
'data_type'
=>
'string'
,
70
),
71
'REDIRECT_URI'
=>
array
(
72
'data_type'
=>
'string'
,
73
),
74
'SETTINGS'
=>
array
(
75
'data_type'
=>
'text'
,
76
),
77
);
78
79
return
$fieldsMap;
80
}
81
82
public
static
function
getByCode
(
$code
)
83
{
84
return
SearchEngineTable::getList([
85
'filter'
=> [
'=CODE'
=>
$code
],
86
]);
87
}
88
}
Bitrix\Seo\SearchEngineTable
Определения
searchengine.php:29
Bitrix\Seo\SearchEngineTable\getMap
static getMap()
Определения
searchengine.php:43
Bitrix\Seo\SearchEngineTable\getFilePath
static getFilePath()
Определения
searchengine.php:33
Bitrix\Seo\SearchEngineTable\ACTIVE
const ACTIVE
Определения
searchengine.php:31
Bitrix\Seo\SearchEngineTable\INACTIVE
const INACTIVE
Определения
searchengine.php:30
Bitrix\Seo\SearchEngineTable\getByCode
static getByCode($code)
Определения
searchengine.php:82
Bitrix\Seo\SearchEngineTable\getTableName
static getTableName()
Определения
searchengine.php:38
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$code
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения
options.php:195
bitrix
modules
seo
lib
searchengine.php
Создано системой
1.14.0