Welcome Guest, Not a member yet? Register   Sign In
calling an application within an application (NOOB)
#2

[eluser]Pascal Kriete[/eluser]
Hey betlog,

First a little terminology. What you have here is a bunch of controllers - an application is the whole package.

Normally you can nest view loading calls, but I can't recall from the top of my head how it works for the parser. In lieu of that, the best way to go is to create a library (or in this case: a helper) to do what you need.

The use of cross-controller calls is very limited, hard to maintain, usually bad practice, and hence not included in the framework.
Generally, if more than one controller needs a piece of code it's time for a library or helper. After all, that's what they're there for.

Hope that helps and welcome to CodeIgniter.


Messages In This Thread
calling an application within an application (NOOB) - by El Forum - 08-24-2008, 02:01 PM
calling an application within an application (NOOB) - by El Forum - 08-24-2008, 04:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB