Im trying to integrate phpgrid with my codeigniter program.
I need a few clarifications on how to use the library function.
I have added the phpgrid files to the application/libraries path and I have loaded the libray using $this->load->library('phpGrid');
Below is the code in the phpgrid conf.php file.
<?php
// mysql example
define('DB_HOSTNAME','localhost'); // database host name
define('DB_USERNAME', 'admin'); // database user name
define('DB_PASSWORD', 'pop3'); // database password
define('DB_NAME', xtra); // database name
define('DB_TYPE', 'mysql'); // database type
define('DB_CHARSET','utf8'); // ex: utf8(for mysql),AL32UTF8 (for oracle), leave blank to use the default charset
define('SERVER_ROOT', '/grid');
/******** DO NOT MODIFY ***********/
require_once('phpGrid.php');
/**********************************/
?>
Can someone please help me how can I reference the define and require_once files to my library path?
Or is there any other way that I can include the phpgrid files to my CI project?