PHP Класс eZ\Publish\Core\MVC\Symfony\View\Builder\ContentViewBuilder

Наследование: implements eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilder
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( eZ\Publish\API\Repository\Repository $repository, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, eZ\Publish\Core\MVC\Symfony\View\Configurator $viewConfigurator, eZ\Publish\Core\MVC\Symfony\View\ParametersInjector $viewParametersInjector, eZ\Publish\Core\Helper\ContentInfoLocationLoader $locationLoader = null )
buildView ( array $parameters ) : ContentView | eZ\Publish\Core\MVC\Symfony\View\View
matches ( $argument )

Приватные методы

Метод Описание
canRead ( eZ\Publish\API\Repository\Values\Content\Content $content, eZ\Publish\API\Repository\Values\Content\Location $location = null ) : boolean Checks if a user can read a content, or view it as an embed.
isEmbed ( array $parameters ) : boolean Checks if the view is an embed one.
loadContent ( mixed $contentId ) : eZ\Publish\API\Repository\Values\Content\Content Loads Content with id $contentId.
loadEmbeddedContent ( mixed $contentId, eZ\Publish\API\Repository\Values\Content\Location $location = null ) : eZ\Publish\API\Repository\Values\Content\Content Loads the embedded content with id $contentId.
loadLocation ( $locationId ) : eZ\Publish\API\Repository\Values\Content\Location Loads a visible Location.

Описание методов

__construct() публичный Метод

public __construct ( eZ\Publish\API\Repository\Repository $repository, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, eZ\Publish\Core\MVC\Symfony\View\Configurator $viewConfigurator, eZ\Publish\Core\MVC\Symfony\View\ParametersInjector $viewParametersInjector, eZ\Publish\Core\Helper\ContentInfoLocationLoader $locationLoader = null )
$repository eZ\Publish\API\Repository\Repository
$authorizationChecker Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
$viewConfigurator eZ\Publish\Core\MVC\Symfony\View\Configurator
$viewParametersInjector eZ\Publish\Core\MVC\Symfony\View\ParametersInjector
$locationLoader eZ\Publish\Core\Helper\ContentInfoLocationLoader

buildView() публичный Метод

public buildView ( array $parameters ) : ContentView | eZ\Publish\Core\MVC\Symfony\View\View
$parameters array
Результат eZ\Publish\Core\MVC\Symfony\View\ContentView | eZ\Publish\Core\MVC\Symfony\View\View If both contentId and locationId parameters are missing

matches() публичный Метод

public matches ( $argument )