Property | Type | Description | |
---|---|---|---|
$viewManager | eZ\Publish\Core\MVC\Symfony\View\ViewManagerInterface |
Method | Description | |
---|---|---|
__construct ( eZ\Publish\Core\MVC\Symfony\View\ViewManagerInterface $viewManager, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker ) | ||
embedAction ( |
Embed a content. | |
embedContent ( integer $contentId, string $viewType, boolean $layout = false, array $params = [] ) : |
Main action for viewing embedded content. | |
embedLocation ( integer $locationId, string $viewType, boolean $layout = false, array $params = [] ) : |
Main action for viewing embedded location. | |
viewAction ( |
This is the default view action or a ContentView object. | |
viewContent ( integer $contentId, string $viewType, boolean $layout = false, array $params = [] ) : |
Main action for viewing content. | |
viewLocation ( integer $locationId, string $viewType, boolean $layout = false, array $params = [] ) : |
Main action for viewing content through a location in the repository. |
Method | Description | |
---|---|---|
buildResponse ( string | null $etag = null, DateTime $lastModified = null ) : |
Build the response so that depending on settings it's cacheable. | |
handleViewException ( |
||
performAccessChecks ( ) | Performs the access checks. | |
renderContent ( eZ\Publish\API\Repository\Values\Content\Content $content, string $viewType, boolean $layout = false, array $params = [] ) : string | Creates the content to be returned when viewing a Content. | |
renderLocation ( eZ\Publish\API\Repository\Values\Content\Location $location, string $viewType, boolean $layout = false, array $params = [] ) : string | Creates the content to be returned when viewing a Location. |
public __construct ( eZ\Publish\Core\MVC\Symfony\View\ViewManagerInterface $viewManager, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker ) | ||
$viewManager | eZ\Publish\Core\MVC\Symfony\View\ViewManagerInterface | |
$authorizationChecker | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface |
protected buildResponse ( string | null $etag = null, DateTime $lastModified = null ) : |
||
$etag | string | null | |
$lastModified | DateTime | |
return |
public embedAction ( |
||
$view | ||
return |
protected handleViewException ( |
||
$response | ||
$e | Exception |
protected performAccessChecks ( ) |
public viewAction ( |
||
$view | ||
return |