BackendModuleRoutePartHandler
class BackendModuleRoutePartHandler extends DynamicRoutePart (View source)
A route part handler for finding nodes specifically in the website's frontend.
Constants
MATCHRESULT_FOUND |
|
MATCHRESULT_NOSUCHMODULE |
|
MATCHRESULT_NOCONTROLLER |
|
Properties
protected array | $settings |
Methods
void
injectSettings(array $settings)
No description
bool|int
matchValue(string $value)
Iterate through the segments of the current request path find the corresponding module configuration and set controller & action accordingly
string
findValueToMatch(string $requestPath)
No description
bool
resolveValue(array $value)
Iterate through the configured modules, find the matching module and set the route path accordingly
Details
void
injectSettings(array $settings)
No description
protected bool|int
matchValue(string $value)
Iterate through the segments of the current request path find the corresponding module configuration and set controller & action accordingly
protected string
findValueToMatch(string $requestPath)
No description
protected bool
resolveValue(array $value)
Iterate through the configured modules, find the matching module and set the route path accordingly