PHP 인터페이스 eZ\Publish\Core\MVC\Symfony\View\Provider\Content

Content view providers select a view for a given content, depending on its own internal rules.
사용 중단: since 6.0.0
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
getView ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, string $viewType ) : ContentView | null Returns a ContentView object corresponding to $contentInfo, or null if not applicable.

메소드 상세

getView() 공개 메소드

Returns a ContentView object corresponding to $contentInfo, or null if not applicable.
public getView ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, string $viewType ) : ContentView | null
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo
$viewType string Variation of display for your content
리턴 eZ\Publish\Core\MVC\Symfony\View\ContentView | null