Router

In processing the request, the system first searches for a site that is bound to the current domain, and then tries to get the locale and the page number for pagination.

After this link is sought in the table of predefined urls of selected site.

If nothing is found, tries to find a page with a current url.

If there are no results, the link is considered to be routed to the module.

Order of recognition of routes

Possible route Full route
module module/index
module/submodule module/submodule/index
module/action module/action
module/value module/view/value
module/submodule/action module/submodule/action
module/action/value module/action/value
module/submodule/action/value module/submodule/action/value

 




If you want to know something further - ask in the comments. The documentation will be complemented by your questions.
© Arthur Grand, 2011–2024
Powered by SyDES