Tc
in package
implements
TcInterface
This is the main Tc (theme configuration) class.
The purpose of this class is to represent a theme configuration. This class implements FWK\Core\Theme\TcInterface, see this interface.
Tags
Interfaces, Classes and Traits
- TcInterface
- This is the TcInterface.
Table of Contents
$configuration | : Configuration|null | |
---|---|---|
getConfiguration() | This method returns the 'theme configuration' data, encapsulated in a Configuration object. | : Configuration |
getConfigurationData() | This method returns the 'theme configuration' data, in array format. | : array<string|int, mixed> |
runForbiddenResponse() | This method runs the Response::redirect() method with the corresponding parameters based on the corresponding definition for the given routeType (that is defined in the self::FORBIDDEN_RESPONSE_ACTIONS constant). | : void |
Properties
$configuration
protected
static Configuration|null
$configuration
= null
Methods
getConfiguration()
This method returns the 'theme configuration' data, encapsulated in a Configuration object.
public
getConfiguration() : Configuration
Tags
Return values
Configuration —getConfigurationData()
This method returns the 'theme configuration' data, in array format.
public
getConfigurationData() : array<string|int, mixed>
Return values
array<string|int, mixed> —runForbiddenResponse()
This method runs the Response::redirect() method with the corresponding parameters based on the corresponding definition for the given routeType (that is defined in the self::FORBIDDEN_RESPONSE_ACTIONS constant).
public
runForbiddenResponse(string $routeType) : void
Parameters
- $routeType : string