Get the current route in Kohana 3


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $routes = Route::all();
  2. $name = array_search($this->request->route, $routes);

URL: http://forum.kohanaphp.com/comments.php?DiscussionID=3377&Focus=24323

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.