fetch( 'collaboration', 'participant' )
Defined in kernel/collaboration/function_definition.php; it calls eZCollaborationFunctionCollection::fetchParticipant() (kernel/collaboration/ezcollaborationfunctioncollection.php).
Operation type: read.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
item_id | yes | false | |
participant_id | no | false |
Example
In a template (the values are placeholders of each parameter's type):
def $result = fetch( 'collaboration', 'participant', hash( 'item_id', $item_id ) )
{* with every parameter *}
{def $all = fetch( 'collaboration', 'participant', hash( 'item_id', $item_id,
'participant_id', $participant_id ) )}In PHP, the same function through the function handler (lib/ezutils/classes/ezfunctionhandler.php):
$result = eZFunctionHandler::execute( 'collaboration', 'participant', array( 'item_id' => $item_id ) );Related
- All fetch functions of collaboration
- The views of the collaboration module
- The fetch template operator
Generated by ./console exp:help:examples from kernel/collaboration/function_definition.php, kernel/collaboration/ezcollaborationfunctioncollection.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.