codenitive / fuel-hybrid

A collection of classes to help your code hotter than before
http://codenitive.github.com/fuel-hybrid
MIT License
19 stars 3 forks source link

properly extend the pagination class. #126

Closed rclanan closed 13 years ago

rclanan commented 13 years ago

Based on the documentation http://codenitive.github.com/fuel-hybrid/classes/pagination.html should extend the Fuel\Core\Pagination class. If you try and access set_config you get an error that it can't find that function.

crynobone commented 13 years ago

The latest Pagination is independence of Fuel\Core\Pagination.

I try to spend time updating the doc.

$pagination = \Hybrid\Pagination::forge(array(
    'uri_segment' => 3,
    'per_page' => 10,
    'total_items' => 30,
));

echo $pagination;