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
abstract
see
Tc::getConfiguration()
see
Tc::getConfigurationData()
see
Tc::runForbiddenResponse()
see
TCInterface

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

Methods

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
Tags
see
TcInterface::runForbiddenResponse()
Return values
void

Search results