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

Template-Funktion collaboration_icon

Die Template-Funktion collaboration_icon, registriert von eZObjectForwarder.

Download as PDF

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

On this page

This page is a translation. Read the English original

Die Template-Funktion collaboration_icon

Registriert in kernel/common/eztemplateautoload.php von der Klasse eZObjectForwarder (kernel/common/ezobjectforwarder.php). Dieselbe Klasse verarbeitet auch: attribute_edit_gui, attribute_view_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_simple_message_view, collaboration_participation_view, event_edit_gui, event_view_gui, class_attribute_view_gui, class_attribute_edit_gui.

Wie sie ihr Template findet

Aus der Weiterleitungsregel in eZObjectForwardInit() (kernel/common/eztemplateautoload.php):

SchlüsselWert
template_root'collaboration/handlers/icon'
input_name'collaboration_item'
output_name'item'
namespace'Collaboration'
use_views'view'
Override-Bedingungsschlüssel
{collaboration_icon collaboration_item=$collaboration_item view=view}

Der Variablenname ist der input_name der Regel; der Wert ist ein Platzhalter.

In einem ausgelieferten Template

Die erste Verwendung in den Templates dieser Installation, design/admin/templates/collaboration/item_list.tpl Zeile 24:

<a href={concat("collaboration/item/full/",$:item.id)|ezurl}>{collaboration_icon view=small collaboration_item=$:item}</a>

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus kernel/common/eztemplateautoload.php, kernel/common/ezobjectforwarder.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

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