recent

Summary

Fetches nodes where the current user recently published something.

Usage

fetch( 'content', 'recent' )

Returns

An array of ezcontentbrowserecent objects or FALSE.

Description

This function fetches nodes under which the current user recently has published something. The function returns an array of ezcontentbrowserecent objects. If there are no nodes under which the current user has published something, the function will return FALSE.

Examples

Example 1

{def $recent=fetch( 'content', 'recent' )}
{foreach $recent as $element}
    {$element.name}
{/foreach}

Outputs the names of the nodes under which the current user recently published something.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.