Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
util.php
1
<?php
2
3
namespace
Bitrix\Socialnetwork\Component\WorkgroupList
;
4
5
class
Util
6
{
7
public
static
function
filterNumericIdList
(array $idList = []): array
8
{
9
$idList = array_map(
static
function
($value) {
10
return
(
int
)$value;
11
}, $idList);
12
13
$idList = array_filter($idList,
static
function
($value) {
14
return
($value > 0);
15
});
16
17
$idList = array_unique($idList);
18
19
return
$idList;
20
}
21
}
Bitrix\Socialnetwork\Component\WorkgroupList\Util
Definition
util.php:6
Bitrix\Socialnetwork\Component\WorkgroupList\Util\filterNumericIdList
static filterNumericIdList(array $idList=[])
Definition
util.php:7
Bitrix\Socialnetwork\Component\WorkgroupList
Definition
counter.php:3
modules
socialnetwork
lib
component
workgrouplist
util.php
Создано системой
1.10.0