eZPublish  4.5
eZSearchLog Class Reference

eZSearchLog handles logging of search phrases More...

Static Public Member Functions

static addPhrase ($phrase, $returnCount)
static mostFrequentPhraseArray ($parameters=array())
static removeStatistics ()

Detailed Description

eZSearchLog handles logging of search phrases

Member Function Documentation

static eZSearchLog::addPhrase (   $phrase,

Logs a search query so that we can retrieve statistics afterwords.

static eZSearchLog::mostFrequentPhraseArray (   $parameters = array( ))

Returns the most frequent search phrases, which did not get hits.

Referenced by eZSearchFunctionCollection\fetchSearchList().

static eZSearchLog::removeStatistics ( )

Removes all stored phrases and search match counts from the database.

The documentation for this class was generated from the following file: