Questions tagged [codeigniter-library]

3 questions
1
vote
0 answers

Unable to load the requested class: Pagination

I want to use pagination in my index page. So I used like following code in my project class Transactions extends CI_Controller { function __construct() { parent::__construct(); $this->load->model(array("Transaction")); } public function…
0
votes
0 answers

CodeIgniter Google Maps V3 API Library have to reload every time get a new direction without loading the page

I'm using CodeIgniter Google Maps V3 API Library and need to load the map each time I do a new direction, i can't refresh the page so i need to refresh just the map. how can done that ? what i have to add in this code ? $config['center'] =…
0
votes
1 answer

codeigniter library with database connection

I am creating a new custom library with database connection but am unable to load the database This is my custom library : class Seo { var $CI; public function __construct($params = array()) { $this->CI =& get_instance(); …