{content_view_gui content_object=object [ view=view ] [ parameter=value [...] ]}
Name | Type | Description | Required |
---|---|---|---|
content_object | object | The target content object. | Yes. |
view | string | The view mode that should be used. | No. |
other parameters | any | Parameter(s) that will be passed to the included template. | No. |
This function shows the view interface for a content object. The target object must be specified (as an "ezcontentobject" object) using the "content_object" parameter. The "view" parameter is optional, it can be used to specify a desired view (for example "text", "text_linked", "embed", etc.). The function will attempt to use the following template from either the current design or one of the fallback designs: "templates/content/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.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.