JPaginationTest::testGetLimitBox
This method tests the getLimitBox function.
Signature
public function testGetLimitBox(integer
$total,
integer
$limitstart,
integer
$limit,
string
$expected )
Parameters
-
$total
- The total number of items.
-
$limitstart
- The offset of the item to start at.
-
$limit
- The number of items to display per page.
-
$expected
- The expected results for the JPagination object
Returns
- void