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