PHP Class FluidTYPO3\Fluidpages\Provider\PageProvider

Main Provider - triggers only on records which have a selected action. All other page records will be associated with the SubPageProvider instead.
Inheritance: extends FluidTYPO3\Flux\Provider\AbstractProvider, implements FluidTYPO3\Flux\Provider\ProviderInterface
Afficher le fichier Open project: fluidtypo3/fluidpages Class Usage Examples

Protected Properties

Свойство Type Description
$configurationSectionName string
$extensionKey string
$fieldName string
$flexformTool TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools
$pageConfigurationService FluidTYPO3\Fluidpages\Service\ConfigurationService
$pageService FluidTYPO3\Fluidpages\Service\PageService
$parentFieldName string
$tableName string

Méthodes publiques

Méthode Description
__construct ( ) CONSTRUCTOR
getControllerActionFromRecord ( array $row ) : string
getControllerActionReferenceFromRecord ( array $row ) : string
getControllerExtensionKeyFromRecord ( array $row ) : string
getExtensionKey ( array $row ) : string
getFlexFormValues ( array $row ) : array
getFlexFormValuesSingle ( array $row ) : array
getForm ( array $row ) : Form | null
getTemplatePathAndFilename ( array $row ) : string
injectPageConfigurationService ( ConfigurationService $pageConfigurationService ) : void
injectPageService ( PageService $pageService ) : void
overlayFlexFormValues ( array $row, array $configuration, $form )
postProcessRecord ( string $operation, integer $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $reference, array $removals = [] )
trigger ( array $row, string $table, string $field, string | null $extensionKey = null ) : boolean Returns TRUE that this Provider should trigger if:

Méthodes protégées

Méthode Description
getInheritanceTree ( array $row ) : array Gets an inheritance tree (ordered parent -> .
getInheritedConfiguration ( array $row ) : array
getInheritedPropertyValueByDottedPath ( array $inheritedConfiguration, string $propertyPath ) : mixed
getParentFieldValue ( array $row ) : mixed
loadRecordTreeFromDatabase ( array $record ) : array
setDefaultValuesInFieldsWithInheritedValues ( Form $form, array $row ) : Form
unsetInheritedValues ( FluidTYPO3\Flux\Form\FormInterface $field, array $values ) : array

Method Details

__construct() public méthode

CONSTRUCTOR
public __construct ( )

getControllerActionFromRecord() public méthode

public getControllerActionFromRecord ( array $row ) : string
$row array
Résultat string

getControllerActionReferenceFromRecord() public méthode

getControllerExtensionKeyFromRecord() public méthode

public getControllerExtensionKeyFromRecord ( array $row ) : string
$row array
Résultat string

getExtensionKey() public méthode

public getExtensionKey ( array $row ) : string
$row array
Résultat string

getFlexFormValues() public méthode

public getFlexFormValues ( array $row ) : array
$row array
Résultat array

getFlexFormValuesSingle() public méthode

public getFlexFormValuesSingle ( array $row ) : array
$row array
Résultat array

getForm() public méthode

public getForm ( array $row ) : Form | null
$row array
Résultat FluidTYPO3\Flux\Form | null

getInheritanceTree() protected méthode

.. -> this record) of record arrays containing raw values.
protected getInheritanceTree ( array $row ) : array
$row array
Résultat array

getInheritedConfiguration() protected méthode

protected getInheritedConfiguration ( array $row ) : array
$row array
Résultat array

getInheritedPropertyValueByDottedPath() protected méthode

protected getInheritedPropertyValueByDottedPath ( array $inheritedConfiguration, string $propertyPath ) : mixed
$inheritedConfiguration array
$propertyPath string
Résultat mixed

getParentFieldValue() protected méthode

protected getParentFieldValue ( array $row ) : mixed
$row array
Résultat mixed

getTemplatePathAndFilename() public méthode

public getTemplatePathAndFilename ( array $row ) : string
$row array
Résultat string

injectPageConfigurationService() public méthode

public injectPageConfigurationService ( ConfigurationService $pageConfigurationService ) : void
$pageConfigurationService FluidTYPO3\Fluidpages\Service\ConfigurationService
Résultat void

injectPageService() public méthode

public injectPageService ( PageService $pageService ) : void
$pageService FluidTYPO3\Fluidpages\Service\PageService
Résultat void

loadRecordTreeFromDatabase() protected méthode

protected loadRecordTreeFromDatabase ( array $record ) : array
$record array
Résultat array

overlayFlexFormValues() public méthode

public overlayFlexFormValues ( array $row, array $configuration, $form )
$row array source record row
$configuration array to be overlayed

postProcessRecord() public méthode

public postProcessRecord ( string $operation, integer $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $reference, array $removals = [] )
$operation string
$id integer
$row array
$reference TYPO3\CMS\Core\DataHandling\DataHandler
$removals array Additional array of field names to remove from the stored Flux value

setDefaultValuesInFieldsWithInheritedValues() protected méthode

protected setDefaultValuesInFieldsWithInheritedValues ( Form $form, array $row ) : Form
$form FluidTYPO3\Flux\Form
$row array
Résultat FluidTYPO3\Flux\Form

trigger() public méthode

- table matches 'pages' - field is NULL or matches self::FIELD_NAME - a selection was made in the "template for this page" field
public trigger ( array $row, string $table, string $field, string | null $extensionKey = null ) : boolean
$row array
$table string
$field string
$extensionKey string | null
Résultat boolean

unsetInheritedValues() protected méthode

protected unsetInheritedValues ( FluidTYPO3\Flux\Form\FormInterface $field, array $values ) : array
$field FluidTYPO3\Flux\Form\FormInterface
$values array
Résultat array

Property Details

$configurationSectionName protected_oe property

protected string $configurationSectionName
Résultat string

$extensionKey protected_oe property

protected string $extensionKey
Résultat string

$fieldName protected_oe property

protected string $fieldName
Résultat string

$flexformTool protected_oe property

protected FlexFormTools,TYPO3\CMS\Core\Configuration\FlexForm $flexformTool
Résultat TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools

$pageConfigurationService protected_oe property

protected ConfigurationService,FluidTYPO3\Fluidpages\Service $pageConfigurationService
Résultat FluidTYPO3\Fluidpages\Service\ConfigurationService

$pageService protected_oe property

protected PageService,FluidTYPO3\Fluidpages\Service $pageService
Résultat FluidTYPO3\Fluidpages\Service\PageService

$parentFieldName protected_oe property

protected string $parentFieldName
Résultat string

$tableName protected_oe property

protected string $tableName
Résultat string