fuel/core — pull request #1168 by omoon (2012-10-15 09:41:40+00:00)
Title: Add post method option to pagination.

In this change, you will be able to make post-method pagination links.

I add two properties 'http_method' and 'form_id'.

If you want to make pagination links with the form whose id is 'form1', you can make it as below:

$config = array(
'pagination_url' => 'pagination_url',
'http_method' => 'post',
'form_id' => 'form1',
);
Pagination::set_config($config);

You can get markup links like..

1...

To avoid repetition, I also make a new static method 'regular_link' which returns a 'regular' link. This method is used in 'page_links', 'next_link', and 'previous_link' methods.

Signed-off-by: omoon