Skip to the content
Documentation

recent

No ratings yet

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.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.