Dec
28
CakePHP – Get Controller, Action, URL information
Posted by | Posted in Flickr | Posted on 28-Dec-2008
Tagged Under : Action, CakePHP, Code, Controller, Example, Information, URL
If you want to know the controller, action or URL in CakePHP just use the default associative array
$params
that looks similar to this
Array ( [controller] => my_controller_name [action] => my_action_name [url] => Array ( [url] => my_cake-php_url ) )


