Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
IBlockToGetById.php
1
<?php
2
3
namespace
Bitrix\Lists\Api\Data\IBlockService
;
4
5
class
IBlockToGetById
6
{
7
private
int
$iBlockId = 0;
8
private
bool
$needCheckPermissions =
true
;
9
10
public
function
__construct
(
int
$iBlockId)
11
{
12
if
($iBlockId > 0)
13
{
14
$this->iBlockId = $iBlockId;
15
}
16
}
17
18
public
function
getIBlockId
(): int
19
{
20
return
$this->iBlockId;
21
}
22
23
public
function
enableCheckPermissions
(): static
24
{
25
$this->
needCheckPermissions
=
true
;
26
27
return
$this;
28
}
29
30
public
function
disableCheckPermissions
(): static
31
{
32
$this->
needCheckPermissions
=
false
;
33
34
return
$this;
35
}
36
37
public
function
needCheckPermissions
(): bool
38
{
39
return
$this->needCheckPermissions;
40
}
41
}
Bitrix\Lists\Api\Data\IBlockService\IBlockToGetById
Definition
IBlockToGetById.php:6
Bitrix\Lists\Api\Data\IBlockService\IBlockToGetById\enableCheckPermissions
enableCheckPermissions()
Definition
IBlockToGetById.php:23
Bitrix\Lists\Api\Data\IBlockService\IBlockToGetById\disableCheckPermissions
disableCheckPermissions()
Definition
IBlockToGetById.php:30
Bitrix\Lists\Api\Data\IBlockService\IBlockToGetById\getIBlockId
getIBlockId()
Definition
IBlockToGetById.php:18
Bitrix\Lists\Api\Data\IBlockService\IBlockToGetById\needCheckPermissions
needCheckPermissions()
Definition
IBlockToGetById.php:37
Bitrix\Lists\Api\Data\IBlockService\IBlockToGetById\__construct
__construct(int $iBlockId)
Definition
IBlockToGetById.php:10
Bitrix\Lists\Api\Data\IBlockService
Definition
IBlockElementFilter.php:3
modules
lists
lib
Api
Data
IBlockService
IBlockToGetById.php
Создано системой
1.10.0