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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.