Свойство | Тип | Описание | |
---|---|---|---|
$availableSiteAccesses | array | Registered configuration scopes. | |
$contextualizer | eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface | ||
$groupsBySiteAccess | array | Registered scope groups names, indexed by scope. | |
$scopeNodeName | string | Name of the node under which scope based (semantic) configuration takes place. |
Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $containerBuilder, $namespace, $siteAcccessNodeName = 'system' ) | ||
getContextualizer ( ) : eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface | ||
mapConfig ( array $config, eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationMapperInterface | callable $mapper ) | Triggers mapping process between semantic and internal configuration. | |
mapConfigArray ( string $id, array $config, integer $options ) | Proxy to Contextualizer::mapConfigArray(). | |
mapSetting ( string $id, array $config ) | Proxy to Contextualizer::mapSetting(). | |
setAvailableSiteAccesses ( array $availableSiteAccesses ) | Injects available SiteAccesses. | |
setContextualizer ( eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface $contextualizer ) | ||
setGroupsBySiteAccess ( array $groupsBySiteAccess ) | Injects available scope groups, indexed by scope. |
Метод | Описание | |
---|---|---|
buildContextualizer ( Symfony\Component\DependencyInjection\ContainerInterface $containerBuilder, string $namespace, string $siteAccessNodeName ) : eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface | Builds configuration contextualizer (I know, sounds obvious. |
public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $containerBuilder, $namespace, $siteAcccessNodeName = 'system' ) | ||
$containerBuilder | Symfony\Component\DependencyInjection\ContainerInterface |
protected buildContextualizer ( Symfony\Component\DependencyInjection\ContainerInterface $containerBuilder, string $namespace, string $siteAccessNodeName ) : eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface | ||
$containerBuilder | Symfony\Component\DependencyInjection\ContainerInterface | |
$namespace | string | |
$siteAccessNodeName | string | |
Результат | eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface |
public getContextualizer ( ) : eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface | ||
Результат | eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface |
public mapConfig ( array $config, eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationMapperInterface | callable $mapper ) | ||
$config | array | Parsed semantic configuration |
$mapper | eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ConfigurationMapperInterface | callable | Mapper to use. Can be either an instance of ConfigurationMapper or a callable. HookableConfigurationMapper can also be used. In this case, preMap() and postMap() will be also called respectively before and after the mapping loop. If $mapper is a callable, the same arguments as defined in the signature defined in ConfigurationMapper interface will be passed: `array $scopeSettings, $currentScope, ContextualizerInterface $contextualizer` |
public mapSetting ( string $id, array $config ) | ||
$id | string | Id of the setting to map. |
$config | array | Full semantic configuration array for current bundle. |
public static setAvailableSiteAccesses ( array $availableSiteAccesses ) | ||
$availableSiteAccesses | array |
public setContextualizer ( eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface $contextualizer ) | ||
$contextualizer | eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface |
public static setGroupsBySiteAccess ( array $groupsBySiteAccess ) | ||
$groupsBySiteAccess | array |
protected static array $availableSiteAccesses | ||
Результат | array |
protected ContextualizerInterface,eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware $contextualizer | ||
Результат | eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\SiteAccessAware\ContextualizerInterface |
protected static array $groupsBySiteAccess | ||
Результат | array |
protected string $scopeNodeName | ||
Результат | string |