Welcome Guest, Not a member yet? Register   Sign In
new CI URI question
#1

[eluser]EugeneS[/eluser]
:\

in the previous version of CI i was able to write:
$this->CI->uri->router->class
$this->CI->uri->router->method

where can i find this now ?

how to determine which class/method is used now ?
#2

[eluser]EugeneS[/eluser]
no one knows ? Sad

in previous version of CI i was able to load appropriate view depending on controller and method called ....

how to define now which controller/method is called ?

do not see anything related to this info in $this
#3

[eluser]wakextreme[/eluser]
Hi EugeneS. I am wondering the same thing. The router class can be still be used like this

Code:
$RTR =& load_class('Router');
$class = $RTR->fetch_class();
$method = $RTR->fetch_method();

But i also would like to know if there is any access to the already initialized router object.




Theme © iAndrew 2016 - Forum software by © MyBB