• Entries (RSS)
  • Comments (RSS)

CakePHP – Get Controller, Action, URL information

Posted by | Posted in Flickr | Posted on 28-Dec-2008

Tagged Under : , , , , , ,

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
)
)
Share This:
  • Facebook
  • Digg
  • Google Bookmarks
  • Sphinn
  • del.icio.us
  • Fark
  • LinkedIn
  • Live
  • MySpace
  • StumbleUpon
  • Technorati
  • Yahoo! Buzz
  • RSS

Related Posts (auto suggestions based on tags)

Post a Comment

Get Adobe Flash playerPlugin by wpburn.com wordpress themes