ControllerModuleTheme
extends Controller
in package
ControllerModuleTheme
This controller is used to switch themes
Table of Contents
Methods
- __get() : object
- A magic method for referring to objects.
- index() : void
- Processes get parameters for changing the theme and redirects to the page from which the request was made.
Methods
__get()
A magic method for referring to objects.
public
__get(string $property) : object
Made for more convenient access to objects from the controller, as well as for more convenient replacement of objects, if necessary, so that you do not have to change all calls to objects in the entire code.
Parameters
- $property : string
Return values
objectindex()
Processes get parameters for changing the theme and redirects to the page from which the request was made.
public
index([array<string|int, mixed> $data = [] ]) : void
Parameters
- $data : array<string|int, mixed> = []