Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
runtimefieldsmanager.php
1
<?php
2
3
namespace
Bitrix\Socialnetwork\Component\WorkgroupList
;
4
5
class
RuntimeFieldsManager
6
{
7
private
array $runtimeFields = [];
8
9
public
function
__construct
()
10
{
11
$runtimeFields = [];
12
}
13
14
public
function
add
($fieldName): void
15
{
16
$this->runtimeFields[] = $fieldName;
17
}
18
19
public
function
has
($fieldName): bool
20
{
21
return
(in_array($fieldName, $this->runtimeFields,
true
));
22
}
23
24
public
function
get
(): array
25
{
26
return
$this->runtimeFields;
27
}
28
}
Bitrix\Socialnetwork\Component\WorkgroupList\RuntimeFieldsManager
Definition
runtimefieldsmanager.php:6
Bitrix\Socialnetwork\Component\WorkgroupList\RuntimeFieldsManager\__construct
__construct()
Definition
runtimefieldsmanager.php:9
Bitrix\Socialnetwork\Component\WorkgroupList\RuntimeFieldsManager\add
add($fieldName)
Definition
runtimefieldsmanager.php:14
Bitrix\Socialnetwork\Component\WorkgroupList\RuntimeFieldsManager\has
has($fieldName)
Definition
runtimefieldsmanager.php:19
Bitrix\Socialnetwork\Component\WorkgroupList
Definition
counter.php:3
modules
socialnetwork
lib
component
workgrouplist
runtimefieldsmanager.php
Создано системой
1.10.0