Download the PHP package openlss/lib-router without Composer
On this page you can find all versions of the php package openlss/lib-router. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download openlss/lib-router
More information about openlss/lib-router
Files in openlss/lib-router
Download openlss/lib-router
More information about openlss/lib-router
Files in openlss/lib-router
Vendor openlss
Package lib-router
Short Description Router for handling web calls, allows dynamic registration at runtime
License LGPL-3.0+
Homepage http://openlss.org
Package lib-router
Short Description Router for handling web calls, allows dynamic registration at runtime
License LGPL-3.0+
Homepage http://openlss.org
Please rate this library. Is it a good library?
Informations about the package lib-router
openlss/lib-router
Router for handling web calls, allows dynamic registration at runtime
Usage
Reference
(void) Router::init()
Calls the construct and starts the singleton
(object) Router::_get()
Returns the current instance
(string) Router::setDefault($dest)
Sets the default file to route too. Relative to root.
(string) Router::setRoot($root)
Set the root folder that all route calls are relative to.
(object) Router::register($act,$do=array())
- $act The first routing argument
- $do An array of secondary routing arguments
- Do may also contain arrays of "fire" routing calls The router is tertiary
A more in depth example
(string) Router::route($act=null,$do=null,$fire=nul)
- $act The first routing segment usually a get variable
- $do The second routing segement usually a get variable
- $fire The thrist routing segment Returns the controller to route to which should then be sent to require()
All versions of lib-router with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.2
The package openlss/lib-router contains the following files
Loading the files please wait ....