TcInternalUtil
extends TcDefault
in package
This is the TcInternalUtil (internal util theme configuration) class.
The purpose of this class is to represent an internal util theme configuration.
This class extends FWK\ThemesConfigurations\TcDefault, see this class.
Tags
Table of Contents
$configuration | : Configuration|null | |
---|---|---|
addBatchRequests() | {@inheritDoc} | : mixed |
getCalculatedData() | {@inheritDoc} | : array<string|int, mixed> |
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> |
routeTypeBatchRequestsFilter() | {@inheritDoc} | : bool |
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
addBatchRequests()
{@inheritDoc}
public
addBatchRequests(BatchRequests $requests, string $routeType) : mixed
Parameters
- $requests : BatchRequests
- $routeType : string
Tags
Return values
mixed —getCalculatedData()
{@inheritDoc}
public
getCalculatedData(array<string|int, mixed> $batchResult) : array<string|int, mixed>
Parameters
- $batchResult : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —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> —routeTypeBatchRequestsFilter()
{@inheritDoc}
public
routeTypeBatchRequestsFilter(string $routeType) : bool
Parameters
- $routeType : string
Tags
Return values
bool —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