Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

Static Public Member Functions | List of all members
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

Definition at line 17 of file ezsearchlog.php.

## Member Function Documentation

## ◆ addPhrase()

static eZSearchLog::addPhrase | ( |  | $phrase,
|  |  | $returnCount
| ) |  |
| static

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

Definition at line 22 of file ezsearchlog.php.

References eZDB\instance(), and eZCharTransform\instance().

## ◆ mostFrequentPhraseArray()

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

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

Definition at line 62 of file ezsearchlog.php.

References eZDB\instance().

## ◆ removeStatistics()

static eZSearchLog::removeStatistics | ( |  | ) |
| static

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

Definition at line 77 of file ezsearchlog.php.

References eZDB\instance().

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

- ezsearchlog.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.