프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$configResolver | eZ\Publish\Core\MVC\ConfigResolverInterface | ||
$embedConfigurationNamespace | string | ||
$logger | null | Psr\Log\LoggerInterface | ||
$repository | |||
$tagConfigurationNamespace | string | ||
$templateEngine | Symfony\Component\Templating\EngineInterface |
메소드 | 설명 | |
---|---|---|
__construct ( eZ\Publish\API\Repository\Repository $repository, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, Symfony\Component\Templating\EngineInterface $templateEngine, string $tagConfigurationNamespace, string $embedConfigurationNamespace, Psr\Log\LoggerInterface $logger = null ) | ||
renderContentEmbed ( $contentId, $viewType, array $parameters, $isInline ) | ||
renderLocationEmbed ( $locationId, $viewType, array $parameters, $isInline ) | ||
renderTag ( $name, array $parameters, $isInline ) |
메소드 | 설명 | |
---|---|---|
checkContent ( integer | string $id ) | Check embed permissions for the given Content $id. | |
checkLocation ( integer | string $id ) : eZ\Publish\API\Repository\Values\Content\Location | Checks embed permissions for the given Location $id and returns the Location. | |
getEmbedTemplateName ( $resourceType, $isInline, $isDenied ) : null | string | Returns configured template reference for the given embed parameters. | |
getTagTemplateName ( string $identifier, boolean $isInline ) : null | string | Returns configured template name for the given template tag identifier. | |
render ( string $templateReference, array $parameters ) : string | Renders template $templateReference with given $parameters. |
public __construct ( eZ\Publish\API\Repository\Repository $repository, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, Symfony\Component\Templating\EngineInterface $templateEngine, string $tagConfigurationNamespace, string $embedConfigurationNamespace, Psr\Log\LoggerInterface $logger = null ) | ||
$repository | eZ\Publish\API\Repository\Repository | |
$authorizationChecker | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | |
$configResolver | eZ\Publish\Core\MVC\ConfigResolverInterface | |
$templateEngine | Symfony\Component\Templating\EngineInterface | |
$tagConfigurationNamespace | string | |
$embedConfigurationNamespace | string | |
$logger | Psr\Log\LoggerInterface |
protected checkContent ( integer | string $id ) | ||
$id | integer | string |
protected checkLocation ( integer | string $id ) : eZ\Publish\API\Repository\Values\Content\Location | ||
$id | integer | string | |
리턴 | eZ\Publish\API\Repository\Values\Content\Location |
protected getEmbedTemplateName ( $resourceType, $isInline, $isDenied ) : null | string | ||
$resourceType | ||
$isInline | ||
$isDenied | ||
리턴 | null | string |
public renderContentEmbed ( $contentId, $viewType, array $parameters, $isInline ) | ||
$parameters | array |
public renderLocationEmbed ( $locationId, $viewType, array $parameters, $isInline ) | ||
$parameters | array |
protected ConfigResolverInterface,eZ\Publish\Core\MVC $configResolver | ||
리턴 | eZ\Publish\Core\MVC\ConfigResolverInterface |
protected null|LoggerInterface,Psr\Log $logger | ||
리턴 | null | Psr\Log\LoggerInterface |
protected Repository,eZ\Publish\Core\Repository $repository | ||
리턴 |