PHP Class paginator

Show file Open project: anchorcms/anchor-cms Class Usage Examples

Public Properties

Property Type Description
$count
$first
$last
$next
$page
$perpage
$prev
$results

Public Methods

Method Description
__construct ( $results, $count, $page, $perpage, $url )
link ( $text, $attrs = [] )
links ( )
next_link ( $text = null, $default = '', $attrs = [] )
prev_link ( $text = null, $default = '', $attrs = [] )

Method Details

__construct() public method

public __construct ( $results, $count, $page, $perpage, $url )

Property Details

$count public property

public $count

$first public property

public $first

$last public property

public $last

$next public property

public $next

$page public property

public $page

$perpage public property

public $perpage

$prev public property

public $prev

$results public property

public $results