I want to know how to call codeigniter functions in a helper is it possible?
Thank You
I want to know how to call codeigniter functions in a helper is it possible?
Thank You
Per the comments above, you would do the same thing with helpers as you would with libraries. That is, get the CodeIgniter super object via get_instance
:
function some_helper_function(){
$CI =& get_instance();
// Now you can access whatever CodeIgniter resource via $CI
}