Welcome Guest, Not a member yet? Register   Sign In
Accessing models from custom library
#6

[eluser]stef25[/eluser]
Thanks for the replies.

Yes, Client = Controller. My controller is called "Client", hence the mistake Smile.

The reason I want to tidy things up is that client.php has about 2000 lines of code (and I have several files like this) and I find myself getting lost in the code always scrolling up and down. Yes I have an outline view in my IDE, I can put bookmarks etc. I just find it easier to flip between files instead of 1000 lines up or down. I could have set things up differently (and will in the future), I just didn't realise the file would get this big and don't want to change all my url's now.

So ... could anyone suggest where these functions should go: helper, library? I'm fine with a library file but would just like to know how to resolve the error in my OP.

Thanks


Messages In This Thread
Accessing models from custom library - by El Forum - 10-10-2009, 07:36 AM
Accessing models from custom library - by El Forum - 10-10-2009, 08:39 AM
Accessing models from custom library - by El Forum - 10-10-2009, 10:22 AM
Accessing models from custom library - by El Forum - 10-10-2009, 06:00 PM
Accessing models from custom library - by El Forum - 10-10-2009, 06:28 PM
Accessing models from custom library - by El Forum - 10-11-2009, 02:37 AM
Accessing models from custom library - by El Forum - 10-11-2009, 06:55 AM
Accessing models from custom library - by El Forum - 10-11-2009, 07:10 AM
Accessing models from custom library - by El Forum - 10-11-2009, 07:27 AM
Accessing models from custom library - by El Forum - 10-11-2009, 07:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB