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.

Changed in Exponential 6.0.15

The parameters of fetch( 'content', 'pending_list' ) as kernel/content/function_definition.php of Exponential 6.0.15 defines them (eZContentFunctionCollection::fetchPendingList()):

Parameter Change
offset Defined in 6.0.15 (type integer, required: No., default false); this page did not list it.
limit Defined in 6.0.15 (type integer, required: No., default false); this page did not list it.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.