Skip to the content
Documentation

pending_list

No ratings yet

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.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.