kernel/classes/ezurlaliasfilter.php

Show: inherited
Table of Contents

File containing the eZURLAliasFilter class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\eZURLAliasFilter

Package: Default

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.

Children
\eZURLAliasFilterAppendNodeID
Abstract
 

Methods

methodpubliceZURLAliasFilter( ) : void

Initialize the filter object.

methodpublicprocess(  $text,  $languageObject,  $caller ) : void

Parameters
Name Type Description
$text
$languageObject
$caller
methodpublicprocessFilters( string $text, string $languageObject, object $caller ) : string
static

Process all configured filters and return the resulting text.

Filters are found in the INI group URLTranslator and the setting Filters. This is done in combination with the setting Extensions which controls which extensions have filter classes.

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
Name Type Description
$text string

The URL alias

$languageObject string

The current language object used for the string $text.

$caller object

The object which called the filtering process, can be null.

Returns
Type Description
string the URL alias processed by the process() method
Details
Static
 
Documentation was generated by DocBlox 0.18.1.