fetch( 'notification', 'subscribed_nodes', hash( [ 'offset', offset, ] [ 'limit', limit ] ) )
Name | Type | Description | Required |
---|---|---|---|
offset | integer | The offset to start at. | No. |
limit | integer | The number of nodes that should be fetched. | No. |
Array of ezsubtreenotificationrule objects or FALSE.
This function fetches the nodes that the current user has subsribed to. The "offset" and "limit" parameters are optional. The function returns an array of ezsubtreenotificationrule objects or FALSE if no nodes could be found.
{def $subscriptions=fetch( 'notification', 'subscribed_nodes' )} {foreach $subscriptions as $subscription} {$subscription.node.name|wash} <br /> {/foreach}
Outputs the names of the nodes that the current user has subscribed to.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.