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.

list_count

Summary

Fetches the number of unique phrases that have been searched.

Usage

fetch( 'search', 'list_count' )

Returns

The number of phrases that have been searched (as an integer).

Description

This function fetches the number of unique phrases that have been searched and returns it as an integer.

Examples

Example 1

{def $count=fetch( 'search', 'list_count' )}
{$count} phrases were searched on this site.

Outputs the number of unique phrases that have been searched on the site.

Julia Shymova (23/04/2007 2:13 pm)

Balazs Halasy (24/04/2007 6:35 pm)

Julia Shymova, Balazs Halasy


Comments

There are no comments.