Router
extends AutoService
in package
AutoService is a base-class for defining a service (in Civi's service-container).
Tags
Table of Contents
Methods
- invoke() : mixed
- isAllowedRoute() : bool
- getHandler() : callable
- invokeBasic() : void
- Execute and display the requested route. Apply basic formatting.
- invokeCms() : void
- invokeRaw() : void
Methods
invoke()
public
invoke(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>
isAllowedRoute()
public
isAllowedRoute(string $route) : bool
Parameters
- $route : string
Return values
boolgetHandler()
protected
getHandler() : callable
Return values
callableinvokeBasic()
Execute and display the requested route. Apply basic formatting.
protected
invokeBasic(array<string|int, mixed> $params) : void
This means that CMS navigation and theming are disabled. However, HTML <HEAD> and Civi theming are enabled.
Parameters
- $params : array<string|int, mixed>
-
Open-ended parameters provided by the entry-script (
iframe.php
).
Tags
invokeCms()
protected
invokeCms(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>
invokeRaw()
protected
invokeRaw(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>