WeAreAthlon / Silla.IO

PHP Application Development Framework.
https://silla.io
GNU General Public License v3.0
25 stars 3 forks source link

Ability to change Core\Router()->to_url scope (mode) #52

Closed pnikolov closed 8 years ago

pnikolov commented 9 years ago

Currently Core\Router()->to_url() method creates a URL according to the current mode routing rules. For example: When you are inside the CMS application there is no way to generate a URL that is pointing to a resource from another mode that has its own routing rules.

One possible solution would be either by introducing an optional second parameter of the method or ability to globally switch modes(change context) before and after each method execution.