PHP 클래스 FluidTYPO3\Fluidcontent\Service\ConfigurationService

Provides methods to read various configuration related to Fluid Content Elements.
저자: Claus Due
상속: extends FluidTYPO3\Flux\Service\FluxService, implements TYPO3\CMS\Core\SingletonInterface
파일 보기 프로젝트 열기: fluidtypo3/fluidcontent 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultIcon string
$extConf array
$manager TYPO3\CMS\Core\Cache\CacheManager
$pageRepository TYPO3\CMS\Frontend\Page\PageRepository
$pageUidBackup integer Storage for the current page UID to restore after this Service abuses ConfigurationManager to override the page UID used when resolving configurations for all TypoScript templates defined in the site.
$recordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService

공개 메소드들

메소드 설명
__construct ( ) Constructor
getContentConfiguration ( string $extensionName = NULL ) : array Get definitions of paths for FCEs defined in TypoScript
getContentElementFormInstances ( ) : Form[][]
getContentTypeSelectorItems ( ) : array
getDefaultIcon ( ) : string
getPageTsConfig ( ) : string
injectCacheManager ( TYPO3\CMS\Core\Cache\CacheManager $manager ) : void
injectPageRepository ( TYPO3\CMS\Frontend\Page\PageRepository $pageRepository ) : void
injectRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $recordService ) : void
writeCachedConfigurationIfMissing ( ) : void

보호된 메소드들

메소드 설명
backupPageUidForConfigurationManager ( ) : void
buildAllWizardTabGroups ( array $allTemplatePaths ) : array Scans all folders in $allTemplatePaths for template files, reads information about each file and collects the groups of files into groups of pageTSconfig setup.
buildAllWizardTabsPageTsConfig ( array $wizardTabs ) : string Builds a big piece of pageTSconfig setup, defining every detected content element's wizard tabs and items.
buildWizardTabItem ( string $tabId, string $id, Form $form, string $templateFileIdentity ) : string Builds a single Wizard item (one FCE) based on the tab id, element id, configuration array and special template identity (groupName:Relative/Path/File.html)
getAllRootTypoScriptTemplates ( ) : array
getTypoScriptTemplatesInRootline ( ) : array
isBackendMode ( ) : boolean
overrideCurrentPageUidForConfigurationManager ( integer $newPageUid ) : void
renderPageTypoScriptForPageUid ( $pageUid ) : string
restorePageUidForConfigurationManager ( ) : void
sanitizeString ( string $string ) : string
sendDisabledContentWarning ( string $templatePathAndFilename ) : void

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

backupPageUidForConfigurationManager() 보호된 메소드

buildAllWizardTabGroups() 보호된 메소드

Scans all folders in $allTemplatePaths for template files, reads information about each file and collects the groups of files into groups of pageTSconfig setup.
protected buildAllWizardTabGroups ( array $allTemplatePaths ) : array
$allTemplatePaths array
리턴 array

buildAllWizardTabsPageTsConfig() 보호된 메소드

Builds a big piece of pageTSconfig setup, defining every detected content element's wizard tabs and items.
protected buildAllWizardTabsPageTsConfig ( array $wizardTabs ) : string
$wizardTabs array
리턴 string

buildWizardTabItem() 보호된 메소드

Builds a single Wizard item (one FCE) based on the tab id, element id, configuration array and special template identity (groupName:Relative/Path/File.html)
protected buildWizardTabItem ( string $tabId, string $id, Form $form, string $templateFileIdentity ) : string
$tabId string
$id string
$form FluidTYPO3\Flux\Form
$templateFileIdentity string
리턴 string

getAllRootTypoScriptTemplates() 보호된 메소드

protected getAllRootTypoScriptTemplates ( ) : array
리턴 array

getContentConfiguration() 공개 메소드

Get definitions of paths for FCEs defined in TypoScript
public getContentConfiguration ( string $extensionName = NULL ) : array
$extensionName string
리턴 array

getContentElementFormInstances() 공개 메소드

public getContentElementFormInstances ( ) : Form[][]
리턴 FluidTYPO3\Flux\Form[][]

getContentTypeSelectorItems() 공개 메소드

getDefaultIcon() 공개 메소드

public getDefaultIcon ( ) : string
리턴 string

getPageTsConfig() 공개 메소드

public getPageTsConfig ( ) : string
리턴 string

getTypoScriptTemplatesInRootline() 보호된 메소드

injectCacheManager() 공개 메소드

public injectCacheManager ( TYPO3\CMS\Core\Cache\CacheManager $manager ) : void
$manager TYPO3\CMS\Core\Cache\CacheManager
리턴 void

injectPageRepository() 공개 메소드

public injectPageRepository ( TYPO3\CMS\Frontend\Page\PageRepository $pageRepository ) : void
$pageRepository TYPO3\CMS\Frontend\Page\PageRepository
리턴 void

injectRecordService() 공개 메소드

public injectRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $recordService ) : void
$recordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService
리턴 void

isBackendMode() 보호된 메소드

protected isBackendMode ( ) : boolean
리턴 boolean

overrideCurrentPageUidForConfigurationManager() 보호된 메소드

protected overrideCurrentPageUidForConfigurationManager ( integer $newPageUid ) : void
$newPageUid integer
리턴 void

renderPageTypoScriptForPageUid() 보호된 메소드

protected renderPageTypoScriptForPageUid ( $pageUid ) : string
$pageUid
리턴 string

restorePageUidForConfigurationManager() 보호된 메소드

sanitizeString() 보호된 메소드

protected sanitizeString ( string $string ) : string
$string string
리턴 string

sendDisabledContentWarning() 보호된 메소드

protected sendDisabledContentWarning ( string $templatePathAndFilename ) : void
$templatePathAndFilename string
리턴 void

writeCachedConfigurationIfMissing() 공개 메소드

프로퍼티 상세

$defaultIcon 보호되어 있는 프로퍼티

protected string $defaultIcon
리턴 string

$extConf 보호되어 있는 프로퍼티

protected array $extConf
리턴 array

$manager 보호되어 있는 프로퍼티

protected CacheManager,TYPO3\CMS\Core\Cache $manager
리턴 TYPO3\CMS\Core\Cache\CacheManager

$pageRepository 보호되어 있는 프로퍼티

protected PageRepository,TYPO3\CMS\Frontend\Page $pageRepository
리턴 TYPO3\CMS\Frontend\Page\PageRepository

$pageUidBackup 보호되어 있는 프로퍼티

Storage for the current page UID to restore after this Service abuses ConfigurationManager to override the page UID used when resolving configurations for all TypoScript templates defined in the site.
protected int $pageUidBackup
리턴 integer

$recordService 보호되어 있는 프로퍼티

protected WorkspacesAwareRecordService,FluidTYPO3\Flux\Service $recordService
리턴 FluidTYPO3\Flux\Service\WorkspacesAwareRecordService