프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$configurationSectionName | string | null | ||
$configurationService | |||
$contentObjectType | string | Fill with the "CType" value that should trigger this Provider. | |
$dataStructArray | array | ||
$extensionKey | string | null | ||
$fieldName | string | Fill with the table column name which should trigger this Provider. | |
$form | |||
$grid | FluidTYPO3\Flux\Form\Container\Grid | ||
$listType | string | Fill with the "list_type" value that should trigger this Provider. | |
$name | string | ||
$parentFieldName | string | ||
$priority | integer | ||
$recordService | FluidTYPO3\Flux\Service\WorkspacesAwareRecordService | ||
$row | array | null | ||
$tableName | string | Fill with the name of the DB table which should trigger this Provider. | |
$templatePathAndFilename | string | null | ||
$templatePaths | array | null | ||
$templateVariables | array | ||
$viewContext | FluidTYPO3\Flux\View\ViewContext |
메소드 | 설명 | |
---|---|---|
clearCacheCommand ( array $command = [] ) : void | Perform various cleanup operations upon clearing cache | |
getConfigurationSectionName ( array $row ) : string | null | ||
getContentObjectType ( ) : string | ||
getControllerActionFromRecord ( array $row ) : string | Stub: Get the name of the controller action associated with $row | |
getControllerActionReferenceFromRecord ( array $row ) : string | Stub: Get a compacted controller name + action name string | |
getControllerExtensionKeyFromRecord ( array $row ) : string | Stub: Get the extension key of the controller associated with $row | |
getControllerNameFromRecord ( array $row ) : string | Stub: override this to return a controller action name associated with $row. | |
getControllerPackageNameFromRecord ( array $row ) : string | Stub: Get the package name of the controller associated with $row | |
getExtensionKey ( array $row ) : string | null | ||
getFieldName ( array $row ) : string | null | ||
getFlexFormValues ( array $row ) : array | Converts the contents of the provided row's Flux-enabled field, at the same time running through the inheritance tree generated by getInheritanceTree() in order to apply inherited values. | |
getForm ( array $row ) : |
||
getGrid ( array $row ) : FluidTYPO3\Flux\Form\Container\Grid | ||
getListType ( ) : string | ||
getName ( ) : string | ||
getParentFieldName ( array $row ) : string | ||
getPreview ( array $row ) : array | Get preview chunks - header and content - as array(string $headerContent, string $previewContent, boolean $continueRendering) | |
getPriority ( array $row ) : integer | ||
getTableName ( array $row ) : string | null | ||
getTemplatePathAndFilename ( array $row ) : string | null | ||
getTemplatePaths ( array $row ) : array | ||
getTemplateVariables ( array $row ) : array | null | ||
getViewContext ( array $row, TYPO3\CMS\Extbase\Mvc\RequestInterface $request = NULL ) : FluidTYPO3\Flux\View\ViewContext | ||
injectConfigurationService ( |
||
injectRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $recordService ) : void | ||
loadSettings ( array $settings ) : void | ||
postProcessCommand ( string $command, integer $id, array &$row, integer &$relativeTo, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) : void | Post-process a command executed on a record form the table this ConfigurationProvider is attached to. | |
postProcessDataStructure ( array &$row, mixed &$dataStructure, array $conf ) : void | Post-process the TCEforms DataStructure for a record associated with this ConfigurationProvider | |
postProcessDatabaseOperation ( string $status, integer $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) : void | Post-process database operation for the table that this ConfigurationProvider is attached to. | |
postProcessRecord ( string $operation, integer $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $reference, array $removals = [] ) : void | Post-process record data for the table that this ConfigurationProvider is attached to. | |
preProcessCommand ( string $command, integer $id, array &$row, integer &$relativeTo, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) : void | Pre-process a command executed on a record form the table this ConfigurationProvider is attached to. | |
preProcessRecord ( array &$row, integer $id, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) : void | Pre-process record data for the table that this ConfigurationProvider is attached to. | |
processTableConfiguration ( array $row, array $configuration ) : array | Processes the table configuration (TCA) for the table associated with this Provider, as determined by the trigger() method. Gets passed an instance of the record being edited/created along with the current configuration array - and must return a complete copy of the configuration array manipulated to the Provider's needs. | |
reset ( ) : void | ||
setConfigurationSectionName ( string | null $configurationSectionName ) : void | ||
setContentObjectType ( string $contentObjectType ) | ||
setExtensionKey ( string $extensionKey ) : void | ||
setFieldName ( string $fieldName ) : void | ||
setForm ( |
||
setGrid ( FluidTYPO3\Flux\Form\Container\Grid $grid ) | ||
setListType ( string $listType ) | ||
setName ( string $name ) | ||
setTableName ( string $tableName ) : void | ||
setTemplatePathAndFilename ( string $templatePathAndFilename ) : void | ||
setTemplatePaths ( array | null $templatePaths ) : void | ||
setTemplateVariables ( array | null $templateVariables ) : void | ||
setViewContext ( FluidTYPO3\Flux\View\ViewContext $viewContext ) : void | ||
shouldCall ( string $methodName, mixed $id, string $command = '' ) : boolean | Use by TceMain to track method calls to providers for a certain $id. | |
trackMethodCall ( string $methodName, mixed $id, $command = '' ) : void | Use by TceMain to track method calls to providers for a certain $id. | |
trigger ( array $row, string $table, string $field, string $extensionKey = NULL ) : boolean |
메소드 | 설명 | |
---|---|---|
getCacheKeyForStoredVariable ( array $row, string $variable ) : string | ||
getCurrentLanguageName ( ) : string | null | Gets the current language name as string, in a format that is compatible with language pointers in a flexform. Usually this implies values like "en", "de" etc. | |
getCurrentValuePointerName ( ) : string | null | Gets the pointer name to use whne retrieving values from a flexform source. Return NULL when pointer is default. | |
getPageValues ( ) : array | Returns the page record with localisation applied, if any exists in database. Maintains uid and pid of the original page if localisation is applied. | |
getPreviewView ( ) : |
||
getViewVariables ( array $row ) : array | ||
loadRecordFromDatabase ( integer $uid ) : array | null | ||
resolveFormClassName ( array $row ) : string | If not-NULL is returned, the value is used as object class name when creating a Form implementation instance which can be returned as form instead of reading from template or overriding the getForm() method. | |
shouldCallWithClassName ( string $className, string $methodName, mixed $id, string $command = '' ) : boolean | Internal method. See shouldCall. | |
trackMethodCallWithClassName ( string $className, string $methodName, mixed $id, string $command = '' ) : void | Internal method. See trackMethodCall. |
public clearCacheCommand ( array $command = [] ) : void | ||
$command | array | |
리턴 | void |
public getControllerActionFromRecord ( array $row ) : string | ||
$row | array | |
리턴 | string |
public getControllerActionReferenceFromRecord ( array $row ) : string | ||
$row | array | |
리턴 | string |
public getControllerExtensionKeyFromRecord ( array $row ) : string | ||
$row | array | |
리턴 | string |
public getControllerNameFromRecord ( array $row ) : string | ||
$row | array | |
리턴 | string |
public getControllerPackageNameFromRecord ( array $row ) : string | ||
$row | array | |
리턴 | string |
protected getCurrentLanguageName ( ) : string | null | ||
리턴 | string | null |
protected getCurrentValuePointerName ( ) : string | null | ||
리턴 | string | null |
public getFlexFormValues ( array $row ) : array | ||
$row | array | |
리턴 | array |
protected getPageValues ( ) : array | ||
리턴 | array |
public getPreview ( array $row ) : array | ||
$row | array | The record data to be analysed for variables to use in a rendered preview |
리턴 | array |
protected getPreviewView ( ) : |
||
리턴 |
public getViewContext ( array $row, TYPO3\CMS\Extbase\Mvc\RequestInterface $request = NULL ) : FluidTYPO3\Flux\View\ViewContext | ||
$row | array | |
$request | TYPO3\CMS\Extbase\Mvc\RequestInterface | |
리턴 | FluidTYPO3\Flux\View\ViewContext |
public injectConfigurationService ( |
||
$configurationService | ||
리턴 | void |
public injectRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $recordService ) : void | ||
$recordService | FluidTYPO3\Flux\Service\WorkspacesAwareRecordService | |
리턴 | void |
public postProcessDatabaseOperation ( string $status, integer $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) : void | ||
$status | string | TYPO3 operation identifier, i.e. "new" etc. |
$id | integer | The ID of the current record (which is sometimes now included in $row |
$row | array | The record's data, by reference. Changing fields' values changes the record's values just before saving after operation |
$reference | TYPO3\CMS\Core\DataHandling\DataHandler | A reference to the \TYPO3\CMS\Core\DataHandling\DataHandler object that is currently performing the database operation |
리턴 | void |
public postProcessRecord ( string $operation, integer $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $reference, array $removals = [] ) : void | ||
$operation | string | TYPO3 operation identifier, i.e. "update", "new" etc. |
$id | integer | The ID of the current record (which is sometimes now included in $row |
$row | array | the record data, by reference. Changing fields' values changes the record's values just before saving |
$reference | TYPO3\CMS\Core\DataHandling\DataHandler | A reference to the \TYPO3\CMS\Core\DataHandling\DataHandler object that is currently saving the record |
$removals | array | Allows overridden methods to pass an additional array of field names to remove from the stored Flux value |
리턴 | void |
public preProcessRecord ( array &$row, integer $id, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) : void | ||
$row | array | The record data, by reference. Changing fields' values changes the record's values before display |
$id | integer | The ID of the current record (which is sometimes now included in $row |
$reference | TYPO3\CMS\Core\DataHandling\DataHandler | A reference to the \TYPO3\CMS\Core\DataHandling\DataHandler object that is currently displaying the record |
리턴 | void |
protected resolveFormClassName ( array $row ) : string | ||
$row | array | |
리턴 | string |
public setContentObjectType ( string $contentObjectType ) | ||
$contentObjectType | string |
public setExtensionKey ( string $extensionKey ) : void | ||
$extensionKey | string | |
리턴 | void |
public setGrid ( FluidTYPO3\Flux\Form\Container\Grid $grid ) | ||
$grid | FluidTYPO3\Flux\Form\Container\Grid |
public setTemplatePathAndFilename ( string $templatePathAndFilename ) : void | ||
$templatePathAndFilename | string | |
리턴 | void |
public setViewContext ( FluidTYPO3\Flux\View\ViewContext $viewContext ) : void | ||
$viewContext | FluidTYPO3\Flux\View\ViewContext | |
리턴 | void |
protected FluxService,FluidTYPO3\Flux\Service $configurationService | ||
리턴 |
protected string $contentObjectType | ||
리턴 | string |
protected string $fieldName | ||
리턴 | string |
protected Grid,FluidTYPO3\Flux\Form\Container $grid | ||
리턴 | FluidTYPO3\Flux\Form\Container\Grid |
protected string $listType | ||
리턴 | string |
protected WorkspacesAwareRecordService,FluidTYPO3\Flux\Service $recordService | ||
리턴 | FluidTYPO3\Flux\Service\WorkspacesAwareRecordService |
protected string $tableName | ||
리턴 | string |