adspace


What is get_instance in codeigniter?

Answer Posted / Avinash Chandra Srivastav

get_instance() is a static method provided by the CI_Controller class in CodeIgniter. It returns an instance of the active controller, allowing you to access its properties or methods from another controller or library.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add / link an images/css/javascript from a view in ci?

717