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
显示文件 Open project: fluidtypo3/fluidpages Class Usage Examples

Protected Properties

Property Type Description
$resourceFactory TYPO3\CMS\Core\Resource\ResourceFactory

Public Methods

Method 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 method

public convertFileReferenceToTemplatePathAndFilename ( string $reference ) : string
$reference string
return string

getPageConfiguration() public method

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

getViewConfigurationByFileReference() public method

public getViewConfigurationByFileReference ( string $reference ) : array
$reference string
return array

injectResourceFactory() public method

public injectResourceFactory ( TYPO3\CMS\Core\Resource\ResourceFactory $resourceFactory ) : void
$resourceFactory TYPO3\CMS\Core\Resource\ResourceFactory
return void

resolvePageProvider() public method

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
return FluidTYPO3\Flux\Provider\ProviderInterface | null

Property Details

$resourceFactory protected_oe property

protected ResourceFactory,TYPO3\CMS\Core\Resource $resourceFactory
return TYPO3\CMS\Core\Resource\ResourceFactory