PHP Class FluidTYPO3\Fluidpages\Service\PageService

Service for interacting with Pages - gets content elements and page configuration options.
Inheritance: implements TYPO3\CMS\Core\SingletonInterface
显示文件 Open project: fluidtypo3/fluidpages Class Usage Examples

Protected Properties

Property Type Description
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
$configurationService ConfigurationService
$objectManager TYPO3\CMS\Extbase\Object\ObjectManager
$workspacesAwareRecordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService

Public Methods

Method Description
getAvailablePageTemplateFiles ( string $format = 'html' ) : Form[] Gets a list of usable Page Templates from defined page template TypoScript.
getPageFlexFormSource ( integer $pageUid ) : string Get a usable page configuration flexform from rootline
getPageTemplateConfiguration ( integer $pageUid ) : array | null Process RootLine to find first usable, configured Fluid Page Template.
injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void
injectConfigurationService ( ConfigurationService $configurationService ) : void
injectObjectManager ( TYPO3\CMS\Extbase\Object\ObjectManager $objectManager ) : void
injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void

Method Details

getAvailablePageTemplateFiles() public method

Returns a list of Form instances indexed by the path ot the template file.
public getAvailablePageTemplateFiles ( string $format = 'html' ) : Form[]
$format string
return FluidTYPO3\Flux\Form[]

getPageFlexFormSource() public method

Get a usable page configuration flexform from rootline
public getPageFlexFormSource ( integer $pageUid ) : string
$pageUid integer
return string

getPageTemplateConfiguration() public method

WARNING: do NOT use the output of this feature to overwrite $row - the record returned may or may not be the same record as defined in $id.
public getPageTemplateConfiguration ( integer $pageUid ) : array | null
$pageUid integer
return array | null

injectConfigurationManager() public method

public injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
return void

injectConfigurationService() public method

public injectConfigurationService ( ConfigurationService $configurationService ) : void
$configurationService ConfigurationService
return void

injectObjectManager() public method

public injectObjectManager ( TYPO3\CMS\Extbase\Object\ObjectManager $objectManager ) : void
$objectManager TYPO3\CMS\Extbase\Object\ObjectManager
return void

injectWorkspacesAwareRecordService() public method

public injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void
$workspacesAwareRecordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService
return void

Property Details

$configurationManager protected_oe property

protected ConfigurationManagerInterface,TYPO3\CMS\Extbase\Configuration $configurationManager
return TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface

$configurationService protected_oe property

protected ConfigurationService,FluidTYPO3\Fluidpages\Service $configurationService
return ConfigurationService

$objectManager protected_oe property

protected ObjectManager,TYPO3\CMS\Extbase\Object $objectManager
return TYPO3\CMS\Extbase\Object\ObjectManager

$workspacesAwareRecordService protected_oe property

protected WorkspacesAwareRecordService,FluidTYPO3\Flux\Service $workspacesAwareRecordService
return FluidTYPO3\Flux\Service\WorkspacesAwareRecordService