1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
Sort.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Main\Provider\Params;
6
7
abstract
class
Sort
implements
SortInterface
8
{
12
public
function
__construct
(
protected
array
$sort = [])
13
{
14
}
15
16
public
function
prepareSort
():
array
17
{
18
return
array_intersect_key($this->sort, array_flip($this->
getAllowedFields
()));
19
}
20
26
abstract
protected
function
getAllowedFields
():
array
;
27
}
Bitrix\Main\Provider\Params\Sort
Определения
Sort.php:8
Bitrix\Main\Provider\Params\Sort\__construct
__construct(protected array $sort=[])
Определения
Sort.php:12
Bitrix\Main\Provider\Params\Sort\getAllowedFields
getAllowedFields()
Bitrix\Main\Provider\Params\Sort\prepareSort
prepareSort()
Определения
Sort.php:16
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Provider\Params\SortInterface
Определения
SortInterface.php:8
bitrix
modules
main
lib
Provider
Params
Sort.php
Создано системой
1.14.0