important question |
[eluser]slowgary[/eluser]
A class constructor runs upon initializing an object, so if this constructor is in your controller, it'll run every time any of your functions are called, as each function call maps to a page load and each time you visit one of those pages you'll be initializing this controller object. It's tough to tell what you're trying to do looking at your code, but creating a _remap() frunction in your controller might help your cause: http://ellislab.com/codeigniter/user-gui...#remapping |
Messages In This Thread |
important question - by El Forum - 09-05-2010, 03:37 AM
important question - by El Forum - 09-05-2010, 07:48 AM
important question - by El Forum - 09-05-2010, 08:38 AM
|