Метод | Описание | |
---|---|---|
__construct ( eZ\Publish\API\Repository\ContentService $contentService, Symfony\Component\HttpKernel\HttpKernelInterface $kernel, |
||
previewContentAction ( |
Метод | Описание | |
---|---|---|
getForwardRequest ( eZ\Publish\API\Repository\Values\Content\Location $location, eZ\Publish\API\Repository\Values\Content\Content $content, |
Returns the Request object that will be forwarded to the kernel for previewing the content. |
public __construct ( eZ\Publish\API\Repository\ContentService $contentService, Symfony\Component\HttpKernel\HttpKernelInterface $kernel, |
||
$contentService | eZ\Publish\API\Repository\ContentService | |
$kernel | Symfony\Component\HttpKernel\HttpKernelInterface | |
$previewHelper | ||
$authorizationChecker | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | |
$locationProvider | eZ\Publish\Core\Helper\PreviewLocationProvider | |
$controllerChecker | eZ\Publish\Core\MVC\Symfony\View\CustomLocationControllerChecker |
protected getForwardRequest ( eZ\Publish\API\Repository\Values\Content\Location $location, eZ\Publish\API\Repository\Values\Content\Content $content, |
||
$location | eZ\Publish\API\Repository\Values\Content\Location | |
$content | eZ\Publish\API\Repository\Values\Content\Content | |
$previewSiteAccess | ||
$request | ||
$language | string | |
Результат |
public previewContentAction ( |
||
$request |