The transfer_actions template operator
Registered in kernel/common/eztemplateautoload.php by the class expKernelTransferOperator (kernel/common/expkerneltransferoperator.php).
The same class also registers: transfer_tools, transfer_related, transfer_tool.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
context | string | yes | '' |
values | array | no | array() |
direction | string | no | '' |
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
$value|transfer_actions( 'context', array(), 'direction' )In a shipped template
The first use in the templates of this installation, design/admin/templates/popupmenu/popup_export_items.tpl line 37:
foreach transfer_actions( 'node', hash( '%nodeID%', '%nodeID%', '%objectID%', '%objectID%' ) ) as $transfer_index => $transfer_itemRelated
Generated by ./console exp:help:examples from kernel/common/eztemplateautoload.php, kernel/common/expkerneltransferoperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.