CodeIgniter Forums
new CI URI question - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: new CI URI question (/showthread.php?tid=6018)



new CI URI question - El Forum - 02-12-2008

[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 ?


new CI URI question - El Forum - 02-13-2008

[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


new CI URI question - El Forum - 02-13-2008

[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.