PHP Class FluidTYPO3\Flux\Controller\AbstractFluxController

Extends a traditional ActionController with new services and methods to ease interaction with Flux forms. Is not required as subclass for Controllers rendering records associated with Flux - all it does is ease the interaction by providing a common API.
Inheritance: extends TYPO3\CMS\Extbase\Mvc\Controller\ActionController
Afficher le fichier Open project: fluidtypo3/flux Class Usage Examples

Protected Properties

Свойство Type Description
$configurationService FluidTYPO3\Flux\Service\FluxService
$data array
$defaultViewObjectName string
$fallbackExtensionKey string
$fluxRecordField string
$fluxTableName string
$provider FluidTYPO3\Flux\Provider\ProviderInterface
$setup array
$workspacesAwareRecordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService

Méthodes publiques

Méthode Description
getRecord ( ) : array
initializeView ( TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view ) : void
injectConfigurationService ( FluxService $configurationService ) : void
injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void
renderAction ( ) : string

Méthodes protégées

Méthode Description
callSubControllerAction ( string $extensionName, string $controllerClassName, string $controllerActionName, string $pluginSignature ) : string
getData ( ) : array Get the data stored in a record's Flux-enabled field, i.e. the variables of the Flux template as configured in this particular record.
getFluxRecordField ( ) : string
getFluxTableName ( ) : string
getSetup ( ) : array Get the array of TS configuration associated with the Flux template of the record (or overall record type) currently being rendered.
hasSubControllerActionOnForeignController ( string $extensionName, string $controllerName, string $actionName ) : boolean
initializeOverriddenSettings ( ) : void
initializeProvider ( ) : void
initializeSettings ( ) : void
initializeViewObject ( ) : void
initializeViewVariables ( ) : void
performSubRendering ( string $extensionName, string $controllerName, string $actionName, string $pluginSignature ) : string
resolveOverriddenFluxControllerActionNameFromRequestParameters ( string $pluginSignature ) : string | null

Method Details

callSubControllerAction() protected méthode

protected callSubControllerAction ( string $extensionName, string $controllerClassName, string $controllerActionName, string $pluginSignature ) : string
$extensionName string
$controllerClassName string
$controllerActionName string
$pluginSignature string
Résultat string

getData() protected méthode

Get the data stored in a record's Flux-enabled field, i.e. the variables of the Flux template as configured in this particular record.
protected getData ( ) : array
Résultat array

getFluxRecordField() protected méthode

protected getFluxRecordField ( ) : string
Résultat string

getFluxTableName() protected méthode

protected getFluxTableName ( ) : string
Résultat string

getRecord() public méthode

public getRecord ( ) : array
Résultat array

getSetup() protected méthode

Get the array of TS configuration associated with the Flux template of the record (or overall record type) currently being rendered.
protected getSetup ( ) : array
Résultat array

hasSubControllerActionOnForeignController() protected méthode

protected hasSubControllerActionOnForeignController ( string $extensionName, string $controllerName, string $actionName ) : boolean
$extensionName string
$controllerName string
$actionName string
Résultat boolean

initializeOverriddenSettings() protected méthode

protected initializeOverriddenSettings ( ) : void
Résultat void

initializeProvider() protected méthode

protected initializeProvider ( ) : void
Résultat void

initializeSettings() protected méthode

protected initializeSettings ( ) : void
Résultat void

initializeView() public méthode

public initializeView ( TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view ) : void
$view TYPO3\CMS\Extbase\Mvc\View\ViewInterface
Résultat void

initializeViewObject() protected méthode

protected initializeViewObject ( ) : void
Résultat void

initializeViewVariables() protected méthode

protected initializeViewVariables ( ) : void
Résultat void

injectConfigurationService() public méthode

public injectConfigurationService ( FluxService $configurationService ) : void
$configurationService FluidTYPO3\Flux\Service\FluxService
Résultat void

injectWorkspacesAwareRecordService() public méthode

public injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void
$workspacesAwareRecordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService
Résultat void

performSubRendering() protected méthode

protected performSubRendering ( string $extensionName, string $controllerName, string $actionName, string $pluginSignature ) : string
$extensionName string
$controllerName string
$actionName string
$pluginSignature string
Résultat string

renderAction() public méthode

public renderAction ( ) : string
Résultat string

resolveOverriddenFluxControllerActionNameFromRequestParameters() protected méthode

protected resolveOverriddenFluxControllerActionNameFromRequestParameters ( string $pluginSignature ) : string | null
$pluginSignature string
Résultat string | null

Property Details

$configurationService protected_oe property

protected FluxService,FluidTYPO3\Flux\Service $configurationService
Résultat FluidTYPO3\Flux\Service\FluxService

$data protected_oe property

protected array $data
Résultat array

$defaultViewObjectName protected_oe property

protected string $defaultViewObjectName
Résultat string

$fallbackExtensionKey protected_oe property

protected string $fallbackExtensionKey
Résultat string

$fluxRecordField protected_oe property

protected string $fluxRecordField
Résultat string

$fluxTableName protected_oe property

protected string $fluxTableName
Résultat string

$provider protected_oe property

protected ProviderInterface,FluidTYPO3\Flux\Provider $provider
Résultat FluidTYPO3\Flux\Provider\ProviderInterface

$setup protected_oe property

protected array $setup
Résultat array

$workspacesAwareRecordService protected_oe property

protected WorkspacesAwareRecordService,FluidTYPO3\Flux\Service $workspacesAwareRecordService
Résultat FluidTYPO3\Flux\Service\WorkspacesAwareRecordService