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
파일 보기 프로젝트 열기: fluidtypo3/fluidpages 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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() 공개 메소드

getControllerExtensionKeyFromRecord() 공개 메소드

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