PHP 클래스 eZ\Publish\Core\MVC\Symfony\View\Builder\ContentViewBuilder

상속: implements eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilder
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
__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 )