ibexa

Path

ez publish / technical manual / 3.7 / reference / template functions / visualization / content_version_view_gui


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

content_version_view_gui

Summary

Outputs a view template for a content object version.

Usage

{content_version_view_gui content_version=version [ view=mode ]  [ parameter=value [...] ]}

Parameters

NameTypeDescriptionRequired
content_version object The target version. Yes.
view string The view mode that should be used. No.
parameter any Parameter(s) that will be passed to the included template. No.

Description

This function shows the view interface for a content object version. The target version must be specified (as a "ezcontentobjectversion" object) using the "content_version" parameter. The "view" parameter is optional, it can be used to specify a desired view (for example "full", "plain", "text", etc.). The function will attempt to use the following template from within either the current design or one of the fallback designs: "templates/content/version/view/[name_of_view_mode].tpl". All other parameters (of any type) will be passed on and thus become available as template variables in the included template.

Balazs Halasy (06/02/2004 1:16 pm)

Balazs Halasy (28/04/2005 2:16 pm)


Comments

There are no comments.