attribute_edit_gui
Summary
Outputs the edit template for a content object attribute.
Usage
{attribute_edit_gui attribute=attribute [ parameter=value [...] ]}Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| attribute | object | The target content object attribute. | Yes. |
| parameter | any | Parameter(s) that will be passed to the included template. | No. |
Description
This function shows the edit interface for a content object attribute. The attribute must be specified (as a "ezcontentobjectattribute" object) using the "attribute" parameter. All other parameters (of any type) will be passed on and thus become available as template variables in the included template.
Contributors
- Balazs Halasy Updated
- Kent Rauch Commenter
Comments (1 historical)
Written by readers of the earlier documentation sites, kept as they were.
More details, please, and an example
Kent Rauch ·
How do I know what template will be used for rendering? If I see a call to this operator, how do I know what the parameters do? It would be very helpful if the documentation included what files in the design or kernel are responsible for handling this.
Thanks.