Documentation Framecore

Documentation on working with FrameCore. Setting up and using classes. Development of applications based on this platform

Dispatcher

Component responsible for instantiating controllers and executing the required actions on them in an application


Methods

getControllerName() : null|string
getActionName() : null|string
getAttributes() : null|string
getOptions() : null|string
getParameter() : null|string
getParams(): array

Examples how to use in modules

https://docs.spotframecore.com/doc/en/3.2.0/api/Spotsystem_Models.html

$this->di->dispatcher->getControllerName() -> will return "doc"
$this->di->dispatcher->getParameter() -> will return "Spotsystem_Models.html"

getParams() will return array all params if exist after 4th argument

Info: documentation in progress






Return Back