1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
GridParams.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Main\Provider\Params;
6
7
use Bitrix\Main\ORM\Query\Filter\ConditionTree;
8
9
class
GridParams
10
{
11
public
function
__construct
(
12
public
PagerInterface
$pager,
13
public
?
FilterInterface
$filter
=
null
,
14
public
?
SortInterface
$sort =
null
,
15
public
?
SelectInterface
$select
=
null
,
16
)
17
{
18
}
19
20
public
function
getLimit
(): int
21
{
22
return
$this->pager->getLimit();
23
}
24
25
public
function
getOffset
(): int
26
{
27
return
$this->pager->getOffset();
28
}
29
30
public
function
getFilter
(): ?
ConditionTree
31
{
32
return
$this->filter?->prepareFilter();
33
}
34
40
public
function
getSort
(): ?
array
41
{
42
return
$this->sort?->prepareSort();
43
}
44
50
public
function
getSelect
(): ?
array
51
{
52
return
$this->
select
?->prepareSelect();
53
}
54
}
select
return select
Определения
access_edit.php:440
Bitrix\Main\ORM\Query\Filter\ConditionTree
Определения
conditiontree.php:29
Bitrix\Main\Provider\Params\GridParams
Определения
GridParams.php:10
Bitrix\Main\Provider\Params\GridParams\getFilter
getFilter()
Определения
GridParams.php:30
Bitrix\Main\Provider\Params\GridParams\getSelect
getSelect()
Определения
GridParams.php:50
Bitrix\Main\Provider\Params\GridParams\getSort
getSort()
Определения
GridParams.php:40
Bitrix\Main\Provider\Params\GridParams\getLimit
getLimit()
Определения
GridParams.php:20
Bitrix\Main\Provider\Params\GridParams\getOffset
getOffset()
Определения
GridParams.php:25
Bitrix\Main\Provider\Params\GridParams\__construct
__construct(public PagerInterface $pager, public ?FilterInterface $filter=null, public ?SortInterface $sort=null, public ?SelectInterface $select=null,)
Определения
GridParams.php:11
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$select
$select
Определения
iblock_catalog_list.php:194
$filter
$filter
Определения
iblock_catalog_list.php:54
Bitrix\Main\Provider\Params\FilterInterface
Определения
FilterInterface.php:10
Bitrix\Main\Provider\Params\PagerInterface
Определения
PagerInterface.php:10
Bitrix\Main\Provider\Params\SelectInterface
Определения
SelectInterface.php:8
Bitrix\Main\Provider\Params\SortInterface
Определения
SortInterface.php:8
bitrix
modules
main
lib
Provider
Params
GridParams.php
Создано системой
1.14.0