PHP Класс 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.
Наследование: extends FluidTYPO3\Flux\Provider\AbstractProvider, implements FluidTYPO3\Flux\Provider\ProviderInterface
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$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

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

Метод Описание
__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:

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

Метод Описание
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

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

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

CONSTRUCTOR
public __construct ( )

getControllerActionFromRecord() публичный Метод

public getControllerActionFromRecord ( array $row ) : string
$row array
Результат string

getControllerActionReferenceFromRecord() публичный Метод

public getControllerActionReferenceFromRecord ( array $row ) : string
$row array
Результат string

getControllerExtensionKeyFromRecord() публичный Метод

public getControllerExtensionKeyFromRecord ( array $row ) : string
$row array
Результат string

getExtensionKey() публичный Метод

public getExtensionKey ( array $row ) : string
$row array
Результат string

getFlexFormValues() публичный Метод

public getFlexFormValues ( array $row ) : array
$row array
Результат array

getFlexFormValuesSingle() публичный Метод

public getFlexFormValuesSingle ( array $row ) : array
$row array
Результат array

getForm() публичный Метод

public getForm ( array $row ) : Form | null
$row array
Результат FluidTYPO3\Flux\Form | null

getInheritanceTree() защищенный Метод

.. -> this record) of record arrays containing raw values.
protected getInheritanceTree ( array $row ) : array
$row array
Результат array

getInheritedConfiguration() защищенный Метод

protected getInheritedConfiguration ( array $row ) : array
$row array
Результат array

getInheritedPropertyValueByDottedPath() защищенный Метод

protected getInheritedPropertyValueByDottedPath ( array $inheritedConfiguration, string $propertyPath ) : mixed
$inheritedConfiguration array
$propertyPath string
Результат mixed

getParentFieldValue() защищенный Метод

protected getParentFieldValue ( array $row ) : mixed
$row array
Результат mixed

getTemplatePathAndFilename() публичный Метод

public getTemplatePathAndFilename ( array $row ) : string
$row array
Результат string

injectPageConfigurationService() публичный Метод

public injectPageConfigurationService ( ConfigurationService $pageConfigurationService ) : void
$pageConfigurationService FluidTYPO3\Fluidpages\Service\ConfigurationService
Результат void

injectPageService() публичный Метод

public injectPageService ( PageService $pageService ) : void
$pageService FluidTYPO3\Fluidpages\Service\PageService
Результат void

loadRecordTreeFromDatabase() защищенный Метод

protected loadRecordTreeFromDatabase ( array $record ) : array
$record array
Результат array

overlayFlexFormValues() публичный Метод

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

postProcessRecord() публичный Метод

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 setDefaultValuesInFieldsWithInheritedValues ( Form $form, array $row ) : Form
$form FluidTYPO3\Flux\Form
$row array
Результат FluidTYPO3\Flux\Form

trigger() публичный Метод

- 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
Результат boolean

unsetInheritedValues() защищенный Метод

protected unsetInheritedValues ( FluidTYPO3\Flux\Form\FormInterface $field, array $values ) : array
$field FluidTYPO3\Flux\Form\FormInterface
$values array
Результат array

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

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

protected string $configurationSectionName
Результат string

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

protected string $extensionKey
Результат string

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

protected string $fieldName
Результат string

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

protected FlexFormTools,TYPO3\CMS\Core\Configuration\FlexForm $flexformTool
Результат TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools

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

protected ConfigurationService,FluidTYPO3\Fluidpages\Service $pageConfigurationService
Результат FluidTYPO3\Fluidpages\Service\ConfigurationService

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

protected PageService,FluidTYPO3\Fluidpages\Service $pageService
Результат FluidTYPO3\Fluidpages\Service\PageService

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

protected string $parentFieldName
Результат string

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

protected string $tableName
Результат string