1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
threadintent.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Config;
4
5
final
class
ThreadIntent
extends
AbstractConfigField
6
{
7
8
private
static
function
checkUrl($value) :
bool
9
{
10
return
array_key_exists(
'cta_button_url'
,$value) &&
11
is_string($value[
'cta_button_url'
]) &&
12
preg_match(static::URL_PATTERN,$value[
'cta_button_url'
]);
13
}
14
15
protected
static
function
checkValueFields
($value): bool
16
{
17
return
static::checkUrl($value);
18
19
}
20
24
static
function
available
(): bool
25
{
26
return
true
;
27
}
28
32
static
function
required
(): bool
33
{
34
return
false
;
35
}
36
37
protected
static
function
getFields
() :
array
38
{
39
return
array_merge(parent::getFields(),[
'cta_button_url'
,
'cta_button_text'
]);
40
}
41
}
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Config\AbstractConfigField
Определения
abstractconfigfield.php:7
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Config\ThreadIntent
Определения
threadintent.php:6
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Config\ThreadIntent\checkValueFields
static checkValueFields($value)
Определения
threadintent.php:15
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Config\ThreadIntent\getFields
static getFields()
Определения
threadintent.php:37
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Config\ThreadIntent\available
static available()
Определения
threadintent.php:24
Bitrix\Seo\BusinessSuite\Configuration\Facebook\Fields\Config\ThreadIntent\required
static required()
Определения
threadintent.php:32
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
modules
seo
lib
businesssuite
configuration
facebook
fields
config
threadintent.php
Создано системой
1.14.0