Welcome Guest, Not a member yet? Register   Sign In
Integrating script with CI
#2

[eluser]BrianDHall[/eluser]
The only way I can think of would be to load up CI and have it pass a reference to MyNewApp to itself. So in your controller you'd do something to load MyNewApp and pass execution to it like:

Code:
MyNewApp::heres_ci(get_instance());

Your new app would be executed and passed a reference to CI, so you could then take that reference and call it:

Code:
MyNewApp:

functions heres_ci(&$ci)
{
// access session info
$ci->db->...
}


Messages In This Thread
Integrating script with CI - by El Forum - 12-21-2009, 01:34 PM
Integrating script with CI - by El Forum - 12-21-2009, 02:49 PM
Integrating script with CI - by El Forum - 12-21-2009, 10:26 PM
Integrating script with CI - by El Forum - 12-21-2009, 10:39 PM
Integrating script with CI - by El Forum - 12-21-2009, 10:57 PM
Integrating script with CI - by El Forum - 12-21-2009, 11:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB