ContentManagerAdapter
in package
implements
ContentManagerAdapterInterface
Interfaces, Classes and Traits
- ContentManagerAdapterInterface
- Interface ContentManagerAdapterInterface
Table of Contents
- $configurationAdapter : ConfigurationAdapter
- $contentReadService : ContentReadServiceInterface
- $contentWriteService : ContentWriteServiceInterface
- $languageService : Language
- $parserFactory : ContentManagerParserFactoryInterface
- $textManager : TextManager
- __construct() : mixed
- ContentManagerAdapter constructor.
- getAllContentPages() : array<string|int, InfoElementContent>
- getAvailableMenusName() : array<string|int, PagePosition>
- getCustomerStatusCheckConfiguration() : bool
- Gets the GROUP_CHECK configuration from the gx_configurations table
- getContentPositionDescription() : string
- Gets the position translation based on the request language
Properties
$configurationAdapter
protected
ConfigurationAdapter
$configurationAdapter
$contentReadService
protected
ContentReadServiceInterface
$contentReadService
$contentWriteService
protected
ContentWriteServiceInterface
$contentWriteService
$languageService
protected
Language
$languageService
$parserFactory
protected
ContentManagerParserFactoryInterface
$parserFactory
$textManager
protected
TextManager
$textManager
Methods
__construct()
ContentManagerAdapter constructor.
public
__construct(ContentReadServiceInterface $contentReadService, ContentWriteServiceInterface $contentWriteService, ContentManagerParserFactoryInterface $parserFactory, ConfigurationAdapter $configurationAdapter, TextManager $textManager, Language $languageService) : mixed
Parameters
- $contentReadService : ContentReadServiceInterface
- $contentWriteService : ContentWriteServiceInterface
- $parserFactory : ContentManagerParserFactoryInterface
- $configurationAdapter : ConfigurationAdapter
- $textManager : TextManager
- $languageService : Language
Return values
mixed —getAllContentPages()
public
getAllContentPages() : array<string|int, InfoElementContent>
Tags
Return values
array<string|int, InfoElementContent> —getAvailableMenusName()
protected
getAvailableMenusName() : array<string|int, PagePosition>
Return values
array<string|int, PagePosition> —getCustomerStatusCheckConfiguration()
Gets the GROUP_CHECK configuration from the gx_configurations table
protected
getCustomerStatusCheckConfiguration() : bool
Return values
bool —getContentPositionDescription()
Gets the position translation based on the request language
private
getContentPositionDescription(string $position) : string
Parameters
- $position : string