Ticket #368 (closed Feature Request: fixed)

Opened 10 months ago

Last modified 10 months ago

add public method get_total_pages() to Pagination library

Reported by: neovive Owned by: Geert
Priority: trivial Milestone: 2.1
Component: Libraries Version: SVN HEAD
Keywords: pagination Cc:

Description

This method should provide public access to the $total_pages value.

public function get_total_pages()
{
   return $this->total_pages;
}

* perhaps, some of the other protected variables would be useful as well.

Change History

Changed 10 months ago by Geert

  • owner changed from - No owner - to Geert

I'll add a magic get method, so you'll be able to access all pagination properties.

Changed 10 months ago by Geert

  • status changed from new to closed
  • resolution set to fixed

Fixed in r1905.

Note: See TracTickets for help on using tickets.