Download the PHP package jsnlib/joomla_pagination without Composer
On this page you can find all versions of the php package jsnlib/joomla_pagination. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jsnlib/joomla_pagination
More information about jsnlib/joomla_pagination
Files in jsnlib/joomla_pagination
Download jsnlib/joomla_pagination
More information about jsnlib/joomla_pagination
Files in jsnlib/joomla_pagination
Please rate this library. Is it a good library?
Informations about the package joomla_pagination
jsnlib-joomla_pagination
幫助 Joomla! 結構化分頁輔助,操作起來更明確。
使用方法
``
- limit():通常是固定的數量。
- offset():因為換頁的關係,通常接收來自 $_GET 參數值。
- total():從 DB 計算出的未分頁的數量。
- create():透過 callable 取得依照 limit, offset 取得的實際列表。
其中 limit(), offset(), total() 可以直接賦予數量,也可以使用匿名函式後回傳,例如 ``
使用範例
這裡示範在 controller 建立分頁,並傳送到 view.html.php,若要在 view.html.php 建立分頁也是沒有問題的。 administrator/components/com_todolist/controllers/todolist.php ``
輸出列表 administrator/components/com_todolist/views/todolist/tmpl/main.php ``
輸出分頁 ``
確保表單的值是否如期設置,因為 Joomla 換頁使用 POST 傳遞與接收,請檢查是否能正確 POST ``
All versions of joomla_pagination with dependencies
PHP Build Version
Package Version
The package jsnlib/joomla_pagination contains the following files
Loading the files please wait ....