Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
IdFilter.php
1
<?php
2
3
namespace
Bitrix\Socialnetwork\Space\List\Query\Filter\Id
;
4
5
use
Bitrix\Main\ORM\Query\Query
;
6
use
Bitrix\Socialnetwork\Space\List\Query\Filter\FilterInterface
;
7
8
final
class
IdFilter
implements
FilterInterface
9
{
10
public
function
__construct
(
private
int
$spaceId)
11
{}
12
13
public
function
apply
(
Query
$query): void
14
{
15
$query->where(
'ID'
, $this->spaceId);
16
}
17
}
Bitrix\Main\ORM\Query\Query
Definition
query.php:118
Bitrix\Socialnetwork\Space\List\Query\Filter\Id\IdFilter
Definition
IdFilter.php:9
Bitrix\Socialnetwork\Space\List\Query\Filter\Id\IdFilter\__construct
__construct(private int $spaceId)
Definition
IdFilter.php:10
Bitrix\Socialnetwork\Space\List\Query\Filter\Id\IdFilter\apply
apply(Query $query)
Definition
IdFilter.php:13
Bitrix\Socialnetwork\Space\List\Query\Filter\FilterInterface
Definition
FilterInterface.php:8
Bitrix\Socialnetwork\Space\List\Query\Filter\Id
Definition
IdFilter.php:3
modules
socialnetwork
lib
Space
List
Query
Filter
Id
IdFilter.php
Создано системой
1.10.0