Controller
in package
AbstractYes
This is the superclass for all Controller classes
Tags
Table of Contents
Properties
- $cx : Cx
- Main class instance
- $systemComponentController : SystemComponentController
- SystemComponentController for this Component
Methods
- __call() : mixed
- Route methods like getName(), getType(), getDirectory(), etc.
- __construct() : mixed
- Creates new controller
- getSystemComponentController() : SystemComponentController
- Returns the main controller
Properties
$cx
Main class instance
protected
Cx
$cx
= null
$systemComponentController
SystemComponentController for this Component
private
SystemComponentController
$systemComponentController
= null
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
__construct()
Creates new controller
public
__construct(SystemComponentController $systemComponentController, Cx $cx) : mixed
Parameters
- $systemComponentController : SystemComponentController
-
Main controller for this system component
- $cx : Cx
-
Main class instance
getSystemComponentController()
Returns the main controller
public
getSystemComponentController() : SystemComponentController
Return values
SystemComponentController —Main controller for this system component