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
Exibir arquivo Open project: fluidtypo3/flux Class Usage Examples

Protected Properties

Property 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

Public Methods

Method 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

Protected Methods

Method 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 method

protected callSubControllerAction ( string $extensionName, string $controllerClassName, string $controllerActionName, string $pluginSignature ) : string
$extensionName string
$controllerClassName string
$controllerActionName string
$pluginSignature string
return string

getData() protected method

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
return array

getFluxRecordField() protected method

protected getFluxRecordField ( ) : string
return string

getFluxTableName() protected method

protected getFluxTableName ( ) : string
return string

getRecord() public method

public getRecord ( ) : array
return array

getSetup() protected method

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

hasSubControllerActionOnForeignController() protected method

protected hasSubControllerActionOnForeignController ( string $extensionName, string $controllerName, string $actionName ) : boolean
$extensionName string
$controllerName string
$actionName string
return boolean

initializeOverriddenSettings() protected method

protected initializeOverriddenSettings ( ) : void
return void

initializeProvider() protected method

protected initializeProvider ( ) : void
return void

initializeSettings() protected method

protected initializeSettings ( ) : void
return void

initializeView() public method

public initializeView ( TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view ) : void
$view TYPO3\CMS\Extbase\Mvc\View\ViewInterface
return void

initializeViewObject() protected method

protected initializeViewObject ( ) : void
return void

initializeViewVariables() protected method

protected initializeViewVariables ( ) : void
return void

injectConfigurationService() public method

public injectConfigurationService ( FluxService $configurationService ) : void
$configurationService FluidTYPO3\Flux\Service\FluxService
return void

injectWorkspacesAwareRecordService() public method

public injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void
$workspacesAwareRecordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService
return void

performSubRendering() protected method

protected performSubRendering ( string $extensionName, string $controllerName, string $actionName, string $pluginSignature ) : string
$extensionName string
$controllerName string
$actionName string
$pluginSignature string
return string

renderAction() public method

public renderAction ( ) : string
return string

resolveOverriddenFluxControllerActionNameFromRequestParameters() protected method

protected resolveOverriddenFluxControllerActionNameFromRequestParameters ( string $pluginSignature ) : string | null
$pluginSignature string
return string | null

Property Details

$configurationService protected_oe property

protected FluxService,FluidTYPO3\Flux\Service $configurationService
return FluidTYPO3\Flux\Service\FluxService

$data protected_oe property

protected array $data
return array

$defaultViewObjectName protected_oe property

protected string $defaultViewObjectName
return string

$fallbackExtensionKey protected_oe property

protected string $fallbackExtensionKey
return string

$fluxRecordField protected_oe property

protected string $fluxRecordField
return string

$fluxTableName protected_oe property

protected string $fluxTableName
return string

$provider protected_oe property

protected ProviderInterface,FluidTYPO3\Flux\Provider $provider
return FluidTYPO3\Flux\Provider\ProviderInterface

$setup protected_oe property

protected array $setup
return array

$workspacesAwareRecordService protected_oe property

protected WorkspacesAwareRecordService,FluidTYPO3\Flux\Service $workspacesAwareRecordService
return FluidTYPO3\Flux\Service\WorkspacesAwareRecordService