Router
We have already parsed the server path into App::$argc and App::$argv
App::$argv[0] is our module name. Let's call it 'foo'. We will load the Zotlabs/Module/Foo.php (object) or file mod/foo.php (procedural) and use it for handling our URL request to 'https://ourgreatwebsite.something/foo' . The module file contains a few functions that we call in various circumstances and in the following order:
- Full name:
\Zotlabs\Web\Router
Properties
modname
controller
module_loaded
Methods
__construct
Throws:
module not found
Dispatch
Automatically generated on 2025-03-19