Router
This is the code documentation for the SproutCMS project
Search documentation |
class RouterRouter
Variables
Functions
public findUrivoid Router::findUri ( ); Attempts to determine the current URI using CLI, GET, PATH_INFO, ORIG_PATH_INFO, or PHP_SELF. public getRoutesarray Router::getRoutes ( ); Get the routes tables. public originCleanupvoid Router::originCleanup ( ); Redirect to alternate hostname and/or protocol if requred The actual business rules for the desired protocol/hostname is defined in the BootstrapConfig class which is located at config/_bootstrap_config.php private originCleanupDebugvoid Router::originCleanupDebug ( string $old_proto , string $old_hostname , string $new_proto , string $new_hostname ); Output information about origin cleanup, and then exit This is turned on by the BootstrapConfig::ORIGIN_CLEANUP_DEBUG constant public routedUristring|bool Router::routedUri ( string $uri ); Generates routed URI (i.e. controller/method/arg1/arg2/...) from given URI. public setupvoid Router::setup ( ); Router setup routine; determines controller/method from URI. Automatically called during Kohana setup process. |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|