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


You need to login to view comments.