Four fetch functions are defined in the ezmedia module which can be used in templates:
The fetch function has one parameter, block_id. This fetches the waiting items (items in the queue) for a block identified by the block_id parameter. The result is the array of items represented by an array with following keys:
fetch( 'ezmedia', 'waiting', hash( 'block_id', $block.id ) )
The same as the waiting fetch function, but the array of valid items is returned.
The same as the waiting fetch function, but the array of archived items (items in the archive) is returned.
The same as valid fetch function, but the array of node objects, for example of eZContentObjectTreeNode class, is returned. This fetch function should be used in the template rendering the block.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.