PHP 클래스 eZ\Publish\Core\MVC\Symfony\Controller\Content\PreviewController

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( eZ\Publish\API\Repository\ContentService $contentService, Symfony\Component\HttpKernel\HttpKernelInterface $kernel, ContentPreviewHelper $previewHelper, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, eZ\Publish\Core\Helper\PreviewLocationProvider $locationProvider, eZ\Publish\Core\MVC\Symfony\View\CustomLocationControllerChecker $controllerChecker )
previewContentAction ( Request $request, $contentId, $versionNo, $language, $siteAccessName = null )

보호된 메소드들

메소드 설명
getForwardRequest ( eZ\Publish\API\Repository\Values\Content\Location $location, eZ\Publish\API\Repository\Values\Content\Content $content, SiteAccess $previewSiteAccess, Request $request, string $language ) : Request Returns the Request object that will be forwarded to the kernel for previewing the content.

메소드 상세

__construct() 공개 메소드

public __construct ( eZ\Publish\API\Repository\ContentService $contentService, Symfony\Component\HttpKernel\HttpKernelInterface $kernel, ContentPreviewHelper $previewHelper, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, eZ\Publish\Core\Helper\PreviewLocationProvider $locationProvider, eZ\Publish\Core\MVC\Symfony\View\CustomLocationControllerChecker $controllerChecker )
$contentService eZ\Publish\API\Repository\ContentService
$kernel Symfony\Component\HttpKernel\HttpKernelInterface
$previewHelper eZ\Publish\Core\Helper\ContentPreviewHelper
$authorizationChecker Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
$locationProvider eZ\Publish\Core\Helper\PreviewLocationProvider
$controllerChecker eZ\Publish\Core\MVC\Symfony\View\CustomLocationControllerChecker

getForwardRequest() 보호된 메소드

Returns the Request object that will be forwarded to the kernel for previewing the content.
protected getForwardRequest ( eZ\Publish\API\Repository\Values\Content\Location $location, eZ\Publish\API\Repository\Values\Content\Content $content, SiteAccess $previewSiteAccess, Request $request, string $language ) : Request
$location eZ\Publish\API\Repository\Values\Content\Location
$content eZ\Publish\API\Repository\Values\Content\Content
$previewSiteAccess eZ\Publish\Core\MVC\Symfony\SiteAccess
$request Symfony\Component\HttpFoundation\Request
$language string
리턴 Symfony\Component\HttpFoundation\Request

previewContentAction() 공개 메소드

public previewContentAction ( Request $request, $contentId, $versionNo, $language, $siteAccessName = null )
$request Symfony\Component\HttpFoundation\Request