PHP Class FluidTYPO3\Flux\Hooks\WizardItemsHookSubscriber

Inheritance: implements TYPO3\CMS\Backend\Wizard\NewContentElementWizardHookInterface
Afficher le fichier Open project: fluidtypo3/flux Class Usage Examples

Protected Properties

Свойство Type Description
$configurationService FluidTYPO3\Flux\Service\FluxService
$objectManager TYPO3\CMS\Extbase\Object\ObjectManagerInterface
$recordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService

Méthodes publiques

Méthode Description
__construct ( ) Constructor
injectConfigurationService ( FluxService $configurationService ) : void
injectObjectManager ( TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager ) : void
injectRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $recordService ) : void
manipulateWizardItems ( array &$items, &$parentObject ) : void

Méthodes protégées

Méthode Description
appendToWhiteAndBlacklistFromComponent ( FluidTYPO3\Flux\Form\FormInterface $component, array $whitelist, array $blacklist ) : array
appendToWhiteAndBlacklistFromProviders ( array $providers, array $record, array &$whitelist, array &$blacklist, integer $columnPosition, string $fluxAreaName = NULL )
applyBlacklist ( array $items, array $blacklist ) : array
applyDefaultValues ( array $items, array $defaultValues ) : array
applyWhitelist ( array $items, array $whitelist ) : array
filterPermittedFluidContentTypesByInsertionPosition ( array $items, TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController $parentObject ) : array
getAreaNameAndParentFromRelativeRecordOrDefaults ( integer $relativeUid ) : array
getDefaultValues ( ) : array
getWhiteAndBlackListsFromPageAndContentColumn ( integer $pageUid, integer $columnPosition, integer $relativeUid ) : array
trimItems ( array $items ) : array

Method Details

__construct() public méthode

Constructor
public __construct ( )

appendToWhiteAndBlacklistFromComponent() protected méthode

protected appendToWhiteAndBlacklistFromComponent ( FluidTYPO3\Flux\Form\FormInterface $component, array $whitelist, array $blacklist ) : array
$component FluidTYPO3\Flux\Form\FormInterface
$whitelist array
$blacklist array
Résultat array

appendToWhiteAndBlacklistFromProviders() protected méthode

protected appendToWhiteAndBlacklistFromProviders ( array $providers, array $record, array &$whitelist, array &$blacklist, integer $columnPosition, string $fluxAreaName = NULL )
$providers array
$record array
$whitelist array
$blacklist array
$columnPosition integer
$fluxAreaName string

applyBlacklist() protected méthode

protected applyBlacklist ( array $items, array $blacklist ) : array
$items array
$blacklist array
Résultat array

applyDefaultValues() protected méthode

protected applyDefaultValues ( array $items, array $defaultValues ) : array
$items array
$defaultValues array
Résultat array

applyWhitelist() protected méthode

protected applyWhitelist ( array $items, array $whitelist ) : array
$items array
$whitelist array
Résultat array

filterPermittedFluidContentTypesByInsertionPosition() protected méthode

protected filterPermittedFluidContentTypesByInsertionPosition ( array $items, TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController $parentObject ) : array
$items array
$parentObject TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController
Résultat array

getAreaNameAndParentFromRelativeRecordOrDefaults() protected méthode

protected getAreaNameAndParentFromRelativeRecordOrDefaults ( integer $relativeUid ) : array
$relativeUid integer
Résultat array

getDefaultValues() protected méthode

protected getDefaultValues ( ) : array
Résultat array

getWhiteAndBlackListsFromPageAndContentColumn() protected méthode

protected getWhiteAndBlackListsFromPageAndContentColumn ( integer $pageUid, integer $columnPosition, integer $relativeUid ) : array
$pageUid integer
$columnPosition integer
$relativeUid integer
Résultat array

injectConfigurationService() public méthode

public injectConfigurationService ( FluxService $configurationService ) : void
$configurationService FluidTYPO3\Flux\Service\FluxService
Résultat void

injectObjectManager() public méthode

public injectObjectManager ( TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager ) : void
$objectManager TYPO3\CMS\Extbase\Object\ObjectManagerInterface
Résultat void

injectRecordService() public méthode

public injectRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $recordService ) : void
$recordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService
Résultat void

manipulateWizardItems() public méthode

public manipulateWizardItems ( array &$items, &$parentObject ) : void
$items array
Résultat void

trimItems() protected méthode

protected trimItems ( array $items ) : array
$items array
Résultat array

Property Details

$configurationService protected_oe property

protected FluxService,FluidTYPO3\Flux\Service $configurationService
Résultat FluidTYPO3\Flux\Service\FluxService

$objectManager protected_oe property

protected ObjectManagerInterface,TYPO3\CMS\Extbase\Object $objectManager
Résultat TYPO3\CMS\Extbase\Object\ObjectManagerInterface

$recordService protected_oe property

protected WorkspacesAwareRecordService,FluidTYPO3\Flux\Service $recordService
Résultat FluidTYPO3\Flux\Service\WorkspacesAwareRecordService