RE: How you will use or add CodeIgniter libraries?
Use or Add CodeIgniter libraries:
The system library is located at system/libraries. All we need to do is to load the library that we want to use. The library can be loaded as shown
$this->load->library('class name');//Where class name is the name of the library that we want to load.