JPaginationTest::testBuildDataObject
This method tests the _buildDataObject method.
Signature
public function testBuildDataObject(integer
$total,
integer
$limitstart,
integer
$limit,
integer
$active,
array
$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.
-
$active
- The page number which contains the active pagination.
-
$expected
- The expected results for the JPagination object
Returns
- void