Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

attribute_view_gui template function

The attribute_view_gui template function, registered by eZObjectForwarder.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/template-functions/attribute_view_gui.md

On this page

The attribute_view_gui template function

Registered in kernel/common/eztemplateautoload.php by the class eZObjectForwarder (kernel/common/ezobjectforwarder.php). The same class also handles: attribute_edit_gui, attribute_result_gui, attribute_pdf_gui, attribute_diff_gui, related_view_gui, node_view_gui, content_view_gui, content_pdf_gui, shop_account_view_gui, content_version_view_gui, collaboration_view_gui, collaboration_icon, collaboration_simple_message_view, collaboration_participation_view, event_edit_gui, event_view_gui, class_attribute_view_gui, class_attribute_edit_gui.

How it finds its template

From the forward rule in eZObjectForwardInit() (kernel/common/eztemplateautoload.php):

KeyValue
template_rootarray( 'type' => 'multi_match', 'attributes' => array( 'is_information_collector' ), 'matches' => array( array( false, 'content/datatype/view' ), array( true, 'content/datatype/collect' ) ) )
input_name'attribute'
output_name'attribute'
namespace'ContentAttribute'
use_views'view'
override match keysattribute_identifier, attribute, class_identifier, class
{attribute_view_gui attribute=$attribute view=view}

The variable name is the rule's input_name; the value is a placeholder.

In a shipped template

The first use in the templates of this installation, design/admin/override/templates/admin_preview/article.tpl line 10:

<p class="author">{attribute_view_gui attribute=$node.data_map.author}</p>

Generated by ./console exp:help:examples from kernel/common/eztemplateautoload.php, kernel/common/ezobjectforwarder.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x