PHP 클래스 FluidTYPO3\Flux\Backend\DynamicFlexForm

파일 보기 프로젝트 열기: fluidtypo3/flux 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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