$pager->makeLinks(3, 15, 1500); // 페이지 링크 HTML <nav> <ul class="pager"> <li > <a href="http://sample4.cikorea.net/library/pagination/exam5?hello=i+am+here&page=2&search=foo" aria-label="Previous"> <span aria-hidden="true">Newer</span> </a> </li> <li > <a href="http://sample4.cikorea.net/library/pagination/exam5?hello=i+am+here&page=4&search=foo" aria-label="Next"> <span aria-hidden="true">Older</span> </a> </li> </ul> </nav>

`only()` 메소드를 사용하면 이를 필요한 항목만으로 제한할 수 있습니다.

$pager->only(['search', 'order'])->makeLinks(3, 15, 1500); // 페이지 링크 HTML <nav> <ul class="pager"> <li > <a href="http://sample4.cikorea.net/library/pagination/exam5?search=foo&page=2" aria-label="Previous"> <span aria-hidden="true">Newer</span> </a> </li> <li > <a href="http://sample4.cikorea.net/library/pagination/exam5?search=foo&page=4" aria-label="Next"> <span aria-hidden="true">Older</span> </a> </li> </ul> </nav>