Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
businessid.php
1
<?php
2
3
namespace
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Setup
;
4
5
6
use
Bitrix\Seo\Service
;
7
use
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields
;
8
9
final
class
BusinessId
implements
Fields\IField
10
{
15
static
function
getDefaultValue
()
16
{
17
if
(!
Service::isRegistered
())
18
{
19
Service::register
();
20
}
21
22
return
Service::getEngine
()->getInterface()->getAppID();
23
}
24
31
static
function
checkValue
($value): bool
32
{
33
return
$value === static::getDefaultValue();
34
35
}
36
40
static
function
available
(): bool
41
{
42
return
true
;
43
}
44
48
static
function
required
(): bool
49
{
50
return
true
;
51
}
52
}
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Setup\BusinessId
Definition
businessid.php:10
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Setup\BusinessId\getDefaultValue
static getDefaultValue()
Definition
businessid.php:15
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Setup\BusinessId\checkValue
static checkValue($value)
Definition
businessid.php:31
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Setup\BusinessId\available
static available()
Definition
businessid.php:40
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Setup\BusinessId\required
static required()
Definition
businessid.php:48
Bitrix\Seo\Service
Definition
service.php:33
Bitrix\Seo\Service\isRegistered
static isRegistered()
Definition
service.php:59
Bitrix\Seo\Service\getEngine
static getEngine()
Definition
service.php:278
Bitrix\Seo\Service\register
static register()
Definition
service.php:293
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\IField
Definition
ifield.php:6
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Setup
Definition
businessid.php:3
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields
modules
seo
lib
businesssuite
configuration
facebook
fields
setup
businessid.php
Создано системой
1.10.0