1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
DefaultValueBy.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Socialnetwork\Control\Mapper\Default
;
6
7
use
Attribute
;
8
use
Bitrix\Socialnetwork\ValueObjectInterface
;
9
10
#[Attribute(Attribute::TARGET_PROPERTY)]
11
class
DefaultValueBy
12
{
13
public
function
__construct
(
protected
ValueObjectInterface
$defaultValue
)
14
{
15
16
}
17
18
public
function
getValue
(): mixed
19
{
20
return
$this->defaultValue->getValue();
21
}
22
}
$defaultValue
if($_SERVER $defaultValue['REQUEST_METHOD']==="GET" &&!empty($RestoreDefaults) && $bizprocPerms==="W" &&check_bitrix_sessid())
Определения
options.php:32
Bitrix\Socialnetwork\Control\Mapper\Default\DefaultValueBy
Определения
DefaultValueBy.php:12
Bitrix\Socialnetwork\Control\Mapper\Default\DefaultValueBy\__construct
__construct(protected ValueObjectInterface $defaultValue)
Определения
DefaultValueBy.php:13
Bitrix\Socialnetwork\Control\Mapper\Default\DefaultValueBy\getValue
getValue()
Определения
DefaultValueBy.php:18
Bitrix\Socialnetwork\ValueObjectInterface
Определения
ValueObjectInterface.php:6
Bitrix\Socialnetwork\Control\Mapper\Attribute
Определения
Map.php:5
Bitrix\Socialnetwork\Control\Mapper\Default
Определения
DefaultValueBy.php:5
bitrix
modules
socialnetwork
lib
Control
Mapper
Default
DefaultValueBy.php
Создано системой
1.14.0