PHP Class FluidTYPO3\Fluidpages\Service\ConfigurationService

Provides methods to read various configuration related to Fluid Content Elements.
Author: Claus Due
Inheritance: extends FluidTYPO3\Flux\Service\FluxService, implements TYPO3\CMS\Core\SingletonInterface
Afficher le fichier Open project: fluidtypo3/fluidpages Class Usage Examples

Protected Properties

Свойство Type Description
$resourceFactory TYPO3\CMS\Core\Resource\ResourceFactory

Méthodes publiques

Méthode Description
convertFileReferenceToTemplatePathAndFilename ( string $reference ) : string
getPageConfiguration ( string $extensionName = null ) : array Get definitions of paths for Page Templates defined in TypoScript
getViewConfigurationByFileReference ( string $reference ) : array
injectResourceFactory ( TYPO3\CMS\Core\Resource\ResourceFactory $resourceFactory ) : void
resolvePageProvider ( array $row ) : FluidTYPO3\Flux\Provider\ProviderInterface | null Resolve fluidpages specific configuration provider. Always returns the main PageProvider type which needs to be used as primary PageProvider when processing a complete page rather than just the "sub configuration" field value.

Method Details

convertFileReferenceToTemplatePathAndFilename() public méthode

public convertFileReferenceToTemplatePathAndFilename ( string $reference ) : string
$reference string
Résultat string

getPageConfiguration() public méthode

Get definitions of paths for Page Templates defined in TypoScript
public getPageConfiguration ( string $extensionName = null ) : array
$extensionName string
Résultat array

getViewConfigurationByFileReference() public méthode

public getViewConfigurationByFileReference ( string $reference ) : array
$reference string
Résultat array

injectResourceFactory() public méthode

public injectResourceFactory ( TYPO3\CMS\Core\Resource\ResourceFactory $resourceFactory ) : void
$resourceFactory TYPO3\CMS\Core\Resource\ResourceFactory
Résultat void

resolvePageProvider() public méthode

Resolve fluidpages specific configuration provider. Always returns the main PageProvider type which needs to be used as primary PageProvider when processing a complete page rather than just the "sub configuration" field value.
public resolvePageProvider ( array $row ) : FluidTYPO3\Flux\Provider\ProviderInterface | null
$row array
Résultat FluidTYPO3\Flux\Provider\ProviderInterface | null

Property Details

$resourceFactory protected_oe property

protected ResourceFactory,TYPO3\CMS\Core\Resource $resourceFactory
Résultat TYPO3\CMS\Core\Resource\ResourceFactory