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
Показать файл Открыть проект

Открытые методы

Метод Описание
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