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

pending_count

Summary

Fetches the number of pending objects for the current user.

Usage

fetch( 'content', 'pending_count' )

Returns

An integer revealing the number of pending objects.

Description

This function reveals the number of pending objects that belong to the current user.

Examples

Example 1

{def $count=fetch( 'content', 'pending_count' )}
There are {$count} pending objects.

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

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

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


Comments

There are no comments.