URL building library that allows dynamic registration at runtime.
use \LSS\Url;
//registration
Url::_register('home',Url::_prep().'/index.php');
Url::_register('myapp',Url::home().'?act=myapp');
Url::_register('myapp_create',Url::myapp().'&do=create');
Url::_register('myapp_edit',Url::myapp().'&do=edit&id=$1');
//usage
$url = Url::home();
$url = Url::myapp();
$url = Url::myapp_create();
$url = Url::myapp_edit($id);Returns the configured root URL
Check if a URL function has been registered
Returns all URLs that dont need arguments (global URLs)
| Language | php | 
| Version | 0.0.0 | 
| Git URL | https://github.com/nullivex/lib-url | 
| License | GPL-3.0 | 
| Description | URL building library that allows dynamic registration at runtime. | 
| Keywords |