Kohana framework routing map

Does the kohana framework have a routing map?

Which specifies the site paths as in yii

 3
Author: dfhsfhgfj, 2013-08-18

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.

 2
Author: Антон Шаманов, 2013-08-21 11:56:37

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'     => '<экшен>',
    ));

About how links are collected.

 1
Author: ShiRO KRED, 2016-09-03 06:48:07