Welcome Guest, Not a member yet? Register   Sign In
Find Out Controller
#1

[eluser]Freewolf[/eluser]
Hopefully this question will make sense.

Calling $this->uri->segement(n);
Gives me a listing of a particular segment in the url.

However I am looking to be able to discover what controllers I am currently viewing under.

I have a particular controller (programs)
However in the URI programs is not listed at all.
I am using rewriting of the uri here.

But I want to know if I am under the programs controller, or if I am viewing a different controller on the site.

In the debugging profiler I see class/method listed.
So I assume it is possible.

Any suggestions?

Blessed Be

Phillip


Messages In This Thread
Find Out Controller - by El Forum - 03-22-2012, 02:00 PM
Find Out Controller - by El Forum - 03-22-2012, 02:16 PM
Find Out Controller - by El Forum - 03-22-2012, 02:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB