1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
FeaturesPermissions.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Socialnetwork\Control\Command\ValueObject;
6
7
use Bitrix\Main\ArgumentException;
8
use Bitrix\Main\Type\Contract\Arrayable;
9
use Bitrix\Socialnetwork\ValueObjectInterface;
10
11
class
FeaturesPermissions
implements
ValueObjectInterface
,
CreateWithDefaultValueInterface
,
CreateObjectInterface
12
{
13
protected
array
$permission
= [];
14
15
public
static
function
create
(mixed
$data
): static
16
{
17
$value =
new
static
();
18
19
$value->permission =
$data
;
20
21
return
$value;
22
}
23
24
public
static
function
createWithDefaultValue
(): static
25
{
26
return
new
static
();
27
}
28
29
public
function
getValue
():
array
30
{
31
return
$this->permission
;
32
}
33
}
Bitrix\Socialnetwork\Control\Command\ValueObject\FeaturesPermissions
Определения
FeaturesPermissions.php:12
Bitrix\Socialnetwork\Control\Command\ValueObject\FeaturesPermissions\create
static create(mixed $data)
Определения
FeaturesPermissions.php:15
Bitrix\Socialnetwork\Control\Command\ValueObject\FeaturesPermissions\getValue
getValue()
Определения
FeaturesPermissions.php:29
Bitrix\Socialnetwork\Control\Command\ValueObject\FeaturesPermissions\createWithDefaultValue
static createWithDefaultValue()
Определения
FeaturesPermissions.php:24
Bitrix\Socialnetwork\Control\Command\ValueObject\FeaturesPermissions\$permission
array $permission
Определения
FeaturesPermissions.php:13
$data
$data['IS_AVAILABLE']
Определения
.description.php:13
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\Socialnetwork\Control\Command\ValueObject\CreateObjectInterface
Определения
CreateObjectInterface.php:6
Bitrix\Socialnetwork\Control\Command\ValueObject\CreateWithDefaultValueInterface
Определения
CreateWithDefaultValueInterface.php:6
Bitrix\Socialnetwork\ValueObjectInterface
Определения
ValueObjectInterface.php:6
bitrix
modules
socialnetwork
lib
Control
Command
ValueObject
FeaturesPermissions.php
Создано системой
1.14.0