eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZURLAliasFilterAppendNodeID

class eZURLAliasFilterAppendNodeID extends eZURLAliasFilter

This class is an URL alias filter to be run with the eZURLAliasFilter system

It appends the value of the nodeID in the URL so the contents can be for example indexed by Google for its Google News

Methods

eZURLAliasFilter()

Initialize the filter object.

from eZURLAliasFilter
string process($text, $languageObject, $caller)

Append the node ID of the object being published So its URL alias will look like : someurlalias-

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

Process all configured filters and return the resulting text.

from eZURLAliasFilter
__construct()

Empty constructor

Details

in eZURLAliasFilter at line 26
public eZURLAliasFilter()

Initialize the filter object.

at line 34
public string process($text, $languageObject, $caller)

Append the node ID of the object being published So its URL alias will look like : someurlalias-

Parameters

$text
$languageObject
$caller

Return Value

string The transformed URL alias with the nodeID

in eZURLAliasFilter 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

at line 22
public __construct()

Empty constructor