The collaboration_participation_view 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_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_simple_message_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):
| Key | Value |
|---|---|
template_root | array( 'type' => 'multi_match', 'attributes' => array( 'is_builtin_type' ), 'matches' => array( array( true, 'collaboration/participation/view' ), array( false, array( 'collaboration/participation/view/custom', array( array( 'participant_type_string' ) ) ) ) ) ) |
input_name | 'collaboration_participant' |
output_name | 'item' |
namespace | 'CollaborationParticipant' |
use_views | 'view' |
| override match keys |
collaboration_participation_view collaboration_participant=$collaboration_participant view=viewThe 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/templates/collaboration/handlers/view/full/ezapprove.tpl line 166:
<p>collaboration_participation_view view=text_linked collaboration_participant=$:item</p>Related
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.