Kohana framework routing map
Does the kohana framework have a routing map?
Which specifies the site paths as in yii
2 answers
There is a routing - Routing
Kohana provides a very powerful routing system. In essence, routes provide an interface between the urls and your controllers and actions. With the correct routes you could make almost any url scheme correspond to almost any arrangement of controllers, and you could change one without impacting the other.
The site paths are formed from the conditions specified by you.
If you need to view "all ready paths" i.e.
Www.google.ru/category/1234,
Www.google.ru/category/845 ,
Www.google.ru/category/podcategory/98
Use the cat module sitemap
.
Conditions can be specified as application/bootstrap.php
(it is recommended to specify only the basic principles for the application here).
The same conditions for the formation of links can located in the project modules themselves:
modules/<name_module>/init.php
Route::set('<название для обращения>', '<условия>', <параметры>)
->defaults(array(
'controller' => '<контролер>',
'action' => '<экшен>',
));