PHP Класс FluidTYPO3\Flux\Backend\DynamicFlexForm

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$cache TYPO3\CMS\Core\Cache\Frontend\VariableFrontend
$configurationService FluidTYPO3\Flux\Service\FluxService
$objectManager TYPO3\CMS\Extbase\Object\ObjectManagerInterface
$recordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService

Открытые методы

Метод Описание
__construct ( ) CONSTRUCTOR
getFlexFormDS_postProcessDS ( array &$dataStructArray, array $conf, array &$row, string $table, string $fieldName ) : void Hook for generating dynamic FlexForm source code.
injectConfigurationService ( FluxService $service ) : void
injectObjectManager ( TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager ) : void
injectRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $recordService ) : void

Защищенные методы

Метод Описание
patchTceformsWrapper ( array $dataStructure, $parentIndex = NULL ) : array Temporary method during FormEngine transition!
recursivelyEvaluateClosures ( array $dataStructureArray, array $parameters ) : array Method used to ensure that all Closures in the data structure are evaluated. The returned array is then serialisation-safe. Closures can occur whenever Flux fields of certain types are used, for example the "custom" field type (which generates a Closure that evaluates the tag content in a deferred manner).

Описание методов

__construct() публичный метод

CONSTRUCTOR
public __construct ( )

getFlexFormDS_postProcessDS() публичный метод

NOTE: patches data structure resolving in a way that solves a regression in the TYPO3 core when dealing with IRRE AJAX requests (in which the database record is no longer fetched by the controller). This patches not only data structure resolving for Flux data structures but indeed any data structure built using hooks or involving user functions which require the entire record (but when using hooks, supports only extensions which are loaded AFTER or depend on Flux).
public getFlexFormDS_postProcessDS ( array &$dataStructArray, array $conf, array &$row, string $table, string $fieldName ) : void
$dataStructArray array
$conf array
$row array
$table string
$fieldName string
Результат void

injectConfigurationService() публичный метод

public injectConfigurationService ( FluxService $service ) : void
$service FluidTYPO3\Flux\Service\FluxService
Результат void

injectObjectManager() публичный метод

public injectObjectManager ( TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager ) : void
$objectManager TYPO3\CMS\Extbase\Object\ObjectManagerInterface
Результат void

injectRecordService() публичный метод

public injectRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $recordService ) : void
$recordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService
Результат void

patchTceformsWrapper() защищенный метод

Performs a duplication in data source, applying a wrapper around field configurations which require it for correct rendering in flex form containers.
protected patchTceformsWrapper ( array $dataStructure, $parentIndex = NULL ) : array
$dataStructure array
Результат array

recursivelyEvaluateClosures() защищенный метод

Method used to ensure that all Closures in the data structure are evaluated. The returned array is then serialisation-safe. Closures can occur whenever Flux fields of certain types are used, for example the "custom" field type (which generates a Closure that evaluates the tag content in a deferred manner).
protected recursivelyEvaluateClosures ( array $dataStructureArray, array $parameters ) : array
$dataStructureArray array
$parameters array
Результат array

Описание свойств

$cache защищенное свойство

protected VariableFrontend,TYPO3\CMS\Core\Cache\Frontend $cache
Результат TYPO3\CMS\Core\Cache\Frontend\VariableFrontend

$configurationService защищенное свойство

protected FluxService,FluidTYPO3\Flux\Service $configurationService
Результат FluidTYPO3\Flux\Service\FluxService

$objectManager защищенное свойство

protected ObjectManagerInterface,TYPO3\CMS\Extbase\Object $objectManager
Результат TYPO3\CMS\Extbase\Object\ObjectManagerInterface

$recordService защищенное свойство

protected WorkspacesAwareRecordService,FluidTYPO3\Flux\Service $recordService
Результат FluidTYPO3\Flux\Service\WorkspacesAwareRecordService