PHP Class FluidTYPO3\Flux\Hooks\WizardItemsHookSubscriber

Inheritance: implements TYPO3\CMS\Backend\Wizard\NewContentElementWizardHookInterface
Datei anzeigen Open project: fluidtypo3/flux Class Usage Examples

Protected Properties

Property Type Description
$configurationService FluidTYPO3\Flux\Service\FluxService
$objectManager TYPO3\CMS\Extbase\Object\ObjectManagerInterface
$recordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService

Public Methods

Method 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

Protected Methods

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

Constructor
public __construct ( )

appendToWhiteAndBlacklistFromComponent() protected method

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

appendToWhiteAndBlacklistFromProviders() protected method

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 method

protected applyBlacklist ( array $items, array $blacklist ) : array
$items array
$blacklist array
return array

applyDefaultValues() protected method

protected applyDefaultValues ( array $items, array $defaultValues ) : array
$items array
$defaultValues array
return array

applyWhitelist() protected method

protected applyWhitelist ( array $items, array $whitelist ) : array
$items array
$whitelist array
return array

filterPermittedFluidContentTypesByInsertionPosition() protected method

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

getAreaNameAndParentFromRelativeRecordOrDefaults() protected method

protected getAreaNameAndParentFromRelativeRecordOrDefaults ( integer $relativeUid ) : array
$relativeUid integer
return array

getDefaultValues() protected method

protected getDefaultValues ( ) : array
return array

getWhiteAndBlackListsFromPageAndContentColumn() protected method

protected getWhiteAndBlackListsFromPageAndContentColumn ( integer $pageUid, integer $columnPosition, integer $relativeUid ) : array
$pageUid integer
$columnPosition integer
$relativeUid integer
return array

injectConfigurationService() public method

public injectConfigurationService ( FluxService $configurationService ) : void
$configurationService FluidTYPO3\Flux\Service\FluxService
return void

injectObjectManager() public method

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

injectRecordService() public method

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

manipulateWizardItems() public method

public manipulateWizardItems ( array &$items, &$parentObject ) : void
$items array
return void

trimItems() protected method

protected trimItems ( array $items ) : array
$items array
return array

Property Details

$configurationService protected_oe property

protected FluxService,FluidTYPO3\Flux\Service $configurationService
return FluidTYPO3\Flux\Service\FluxService

$objectManager protected_oe property

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

$recordService protected_oe property

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