Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

pending_list

Summary

Fetches the pending objects for the current user.

Usage

fetch( 'content', 'pending_list' )

Returns

An array of objects or FALSE.

Description

This function fetches the pending objects that belong to the current user. The function returns an array of or FALSE if there are no pending objects.

Examples

Example 1

{def $pending=fetch( 'content', 'pending_list' )}
 
{foreach $pending as $object}
    {$object.name}
{/foreach}

Outputs the names of the pending objects that belong to the current user.

Balazs Halasy (06/02/2004 12:11 pm)

Balazs Halasy (29/04/2005 8:56 am)


Comments

There are no comments.