Documentation

FrontendController extends FrontendController
in package

FrontendController for Media3

Tags
see
FrontendController
copyright

Cloudrexx AG

author

Michael Ritter michael.ritter@cloudrexx.com

subpackage

module_media3

Table of Contents

Properties

$cx  : Cx
Main class instance

Methods

__call()  : mixed
Route methods like getName(), getType(), getDirectory(), etc.
__construct()  : mixed
Creates new controller
getPage()  : mixed
This is called by the default ComponentController and does all the repeating work
getSystemComponentController()  : SystemComponentController
Returns the main controller
load()  : mixed
parsePage()  : mixed
Use this to parse your frontend page

Properties

Methods

__call()

Route methods like getName(), getType(), getDirectory(), etc.

public __call(string $methodName, array<string|int, mixed> $arguments) : mixed
Parameters
$methodName : string

Name of method to call

$arguments : array<string|int, mixed>

List of arguments for the method to call

Attributes
#[ReturnTypeWillChange]
Return values
mixed

Return value of the method to call

getPage()

This is called by the default ComponentController and does all the repeating work

public getPage(Page $page) : mixed

This creates a template of the page content and calls parsePage($template)

Parameters
$page : Page

Resolved page

parsePage()

Use this to parse your frontend page

public parsePage(Sigma $template, mixed $cmd) : mixed
Parameters
$template : Sigma

Template containing content of resolved page

$cmd : mixed
Tags
inheritdoc

        
On this page

Search results