[eluser]Kumar Chetan sharma[/eluser]
Hi,
This is wiered. The following class works perfectly fine on Windows but fails in Linux.
And gives me following error.
Code:
Fatal error: Call to undefined method CI_Pagination::createAjaxPaginationLinks() in /media/sda5/lamp/www/html/CI/system/application/libraries/Menu.php on line 20
And the class is
Code:
<?php
class My_Pagination extends CI_Pagination
{
public function __construct()
{
log_message('info', 'Loading class'. __CLASS__ );
parent::__construct();
}
public function createAjaxPaginationLinks()
{
/*I am just adding onclick=jscode to the links give by createlinks by pagination class.*/
}
}
Here is how I use this class:
[code]
$this->CI->load->library('pagination');
$data['