메소드 | 설명 | |
---|---|---|
renderBlock ( |
Renders $block by selecting the right template. | |
renderContent ( eZ\Publish\API\Repository\Values\Content\Content $content, string $viewType = self::VIEW_TYPE_FULL, array $parameters = [] ) : string | Renders $content by selecting the right template. | |
renderContentView ( eZ\Publish\Core\MVC\Symfony\View\View $view, array $defaultParams = [] ) : string | Renders passed ContentView object via the template engine. | |
renderLocation ( eZ\Publish\API\Repository\Values\Content\Location $location, string $viewType = self::VIEW_TYPE_FULL, array $parameters = [] ) : string | Renders $location by selecting the right template for $viewType. |
public renderBlock ( |
||
$block | ||
$parameters | array | Parameters to pass to the template called to render the view. By default, it's empty. 'block' entry is reserved for the Block that is viewed. |
리턴 | string |
public renderContent ( eZ\Publish\API\Repository\Values\Content\Content $content, string $viewType = self::VIEW_TYPE_FULL, array $parameters = [] ) : string | ||
$content | eZ\Publish\API\Repository\Values\Content\Content | |
$viewType | string | Variation of display for your content. Default is 'full'. |
$parameters | array | Parameters to pass to the template called to render the view. By default, it's empty. 'content' entry is reserved for the Content that is rendered. |
리턴 | string |
public renderContentView ( eZ\Publish\Core\MVC\Symfony\View\View $view, array $defaultParams = [] ) : string | ||
$view | eZ\Publish\Core\MVC\Symfony\View\View | |
$defaultParams | array | |
리턴 | string |
public renderLocation ( eZ\Publish\API\Repository\Values\Content\Location $location, string $viewType = self::VIEW_TYPE_FULL, array $parameters = [] ) : string | ||
$location | eZ\Publish\API\Repository\Values\Content\Location | |
$viewType | string | Variation of display for your content. Default is 'full'. |
$parameters | array | Parameters to pass to the template called to render the view. By default, it's empty. 'location' and 'content' entries are reserved for the Location (and its Content) that is viewed. |
리턴 | string |