Welcome Guest, Not a member yet? Register   Sign In
Accessing an object within a helper
#1

[eluser]elite-board[/eluser]
Hi,

I have a quick question about something that I'm stuck on.

I have a helper function that does some checking for a value and returns a boolean, the issue though is the function has to use a method from an object I created though a core class(that overrides the CI_Controller object) and looks like you can't access it from the Codeigniter super global, so my question is, does anyone know of a clean way of getting this to work or am i forced to create another instance of this object (which i really would like to avoid if possible)

thank you Smile




Theme © iAndrew 2016 - Forum software by © MyBB