Documentation

Router extends AutoService
in package

AutoService is a base-class for defining a service (in Civi's service-container).

Tags
service

iframe.router

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
bool

getHandler()

protected getHandler() : callable
Return values
callable

invokeBasic()

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
throws
CRM_Core_Exception

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>

        
On this page

Search results