View Single Post
Old 01-06-2009, 12:51 AM   #5 (permalink)
Scottymeuk
The Contributor
 
Join Date: Jan 2009
Posts: 40
Thanks: 10
Scottymeuk is on a distinguished road
Default

I need help with this also, I have $app->core->xss_clean(''); for example working, but i need it to be defined throughout the application (in included files etc). I want to be able to access it through $app. Is this possible.

Please note all files are loaded from index.php through functions and includes etc. At the moment im using Factory() but i really dont like it and would like to just use $app->CLASS->FUNCTION.

Also is there a way to make this dynamic so that i dont have to do $app->core = new core();

Thanks
Scottymeuk is offline  
Reply With Quote