Die Template-Funktion collaboration_simple_message_view
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_icon, 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üssel | Wert |
|---|---|
template_root | 'collaboration/message/view' |
input_name | 'collaboration_message' |
output_name | 'item' |
namespace | 'CollaborationMessage' |
use_views | 'view' |
| Override-Bedingungsschlüssel |
collaboration_simple_message_view collaboration_message=$collaboration_message view=viewDer 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/handlers/view/full/ezapprove.tpl Zeile 192:
collaboration_simple_message_view view=element sequence=$:sequence is_read=$current_participant.last_read|gt($:item.modified) item_link=$:item collaboration_message=$:item.simple_messageSiehe 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.