API16

API16:JPagination/getRowOffset

From Joomla! Documentation

Description

Return the rationalised offset for a row with a given index.



Syntax

getRowOffset($index)
Parameter Name Default Value Description
$index $index The row index

Returns

int Rationalised offset for a row with a given index.

Defined in

libraries/joomla/html/pagination.php

Importing

jimport( 'joomla.html.pagination' );

Source Body

public function getRowOffset($index)
{
        return $index +1 + $this->limitstart;
}



Examples

Code Examples