src/ui/classes/List.php
public function getPagination()
    {
        if (!$this->pagination)
        {
            $totalPages = $this->pageSize ? ceil($this->dataProvider->getCount() / $this->pageSize) : 0;
            $this->pagination = new PaginationHelper($totalPages, $this->page,
                $this->getURL()->getPagination());
        }
        return $this->pagination;
    }
public function getPagination()
    {
        if (!$this->pagination)
        {
            $totalPages = $this->pageSize ? ceil($this->dataProvider->getCount() / $this->pageSize) : 0;
            $this->pagination = new PaginationHelper($totalPages, $this->page,
                $this->getURL()->getPagination());
        }
        return $this->pagination;
    }
Возвращает переключатель страниц

@return PaginationHelper

@since 1.00