eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZURLAliasFilter

abstract class eZURLAliasFilter

The eZURLAliasFilter class the interface for all url alias filters, the filter implementation must implement the process method.

For execution of the configured filters use the static method processFilters. Help with configuration is found in settings/site.ini under the group URLTranslator.

Methods

eZURLAliasFilter()

Initialize the filter object.

process($text, $languageObject, $caller)

static string processFilters($text, $languageObject, $caller)

Process all configured filters and return the resulting text.

Details

at line 26
public eZURLAliasFilter()

Initialize the filter object.

at line 44
public process($text, $languageObject, $caller)

Parameters

$text
$languageObject
$caller

at line 66
static public string processFilters($text, $languageObject, $caller)

Process all configured filters and return the resulting text.

Filters are found in the INI group URLTranslator and the setting FilterClasses.

The parameters $text, $languageObject and $caller are sent to the method process on the filter object.

Note: The filter list will be cached in memory to improve performance of subsequent calls.

Parameters

$text
$languageObject
$caller

Return Value

string the URL alias processed by the process() method