fetch( 'rss', 'has_export_by_node' )
Defined in kernel/rss/function_definition.php; it calls eZRSSFunctionCollection::hasExportByNode() (kernel/rss/ezrssfunctioncollection.php).
Operation type: read.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
node_id | integer | yes |
Example
In a template (the values are placeholders of each parameter's type):
def $result = fetch( 'rss', 'has_export_by_node', hash( 'node_id', 1 ) )In PHP, the same function through the function handler (lib/ezutils/classes/ezfunctionhandler.php):
$result = eZFunctionHandler::execute( 'rss', 'has_export_by_node', array( 'node_id' => 1 ) );In a shipped template
The first use in the templates of this installation, design/admin/templates/node/view/full.tpl line 46:
if fetch( 'rss', 'has_export_by_node', hash( 'node_id', $node.node_id ) )Related
Generated by ./console exp:help:examples from kernel/rss/function_definition.php, kernel/rss/ezrssfunctioncollection.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.