Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
storagesupporter.php
1
<?php
2
3
namespace
Bitrix\Main\Grid\Pagination\Storage
;
4
5
use
Bitrix\Main\Grid\Pagination\PageNavigationStorage
;
6
7
trait StorageSupporter
8
{
9
private
?
PageNavigationStorage
$paginationStorage =
null
;
10
11
final
protected
function
getPaginationStorage
(): ?
PageNavigationStorage
12
{
13
$this->paginationStorage ??= $this->
createStorage
();
14
15
return
$this->paginationStorage;
16
}
17
18
protected
function
createStorage
(): ?
PageNavigationStorage
19
{
20
return
new
SessionPageNavigationStorage
();
21
}
22
}
Bitrix\Main\Grid\Pagination\Storage\SessionPageNavigationStorage
Definition
sessionpagenavigationstorage.php:11
Bitrix\Main\Grid\Pagination\PageNavigationStorage
Definition
pagenavigationstorage.php:16
Bitrix\Main\Grid\Pagination\Storage
Definition
sessionpagenavigationstorage.php:3
Bitrix\Main\Grid\Pagination\Storage\getPaginationStorage
getPaginationStorage()
Definition
storagesupporter.php:11
Bitrix\Main\Grid\Pagination\Storage\createStorage
createStorage()
Definition
storagesupporter.php:18
modules
main
lib
grid
pagination
storage
storagesupporter.php
Создано системой
1.10.0