Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.



Outputs a view template for a content object version.


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


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.


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)


There are no comments.