eZPublishCommunityProject(LegacyStack)  2013.9
eZURLAliasFilterAppendNodeID Class Reference

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

+ Inheritance diagram for eZURLAliasFilterAppendNodeID:
+ Collaboration diagram for eZURLAliasFilterAppendNodeID:

Public Member Functions

 __construct ()
 Empty constructor. More...
 
 process ($text, &$languageObject, &$caller)
 Append the node ID of the object being published So its URL alias will look like : someurlalias-<nodeID> More...
 
- Public Member Functions inherited from eZURLAliasFilter
 eZURLAliasFilter ()
 Initialize the filter object. More...
 
 process ($text, &$languageObject, &$caller)
 

Additional Inherited Members

- Static Public Member Functions inherited from eZURLAliasFilter
static processFilters ($text, $languageObject, $caller)
 Process all configured filters and return the resulting text. More...
 

Detailed Description

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

Constructor & Destructor Documentation

eZURLAliasFilterAppendNodeID::__construct ( )

Empty constructor.

Member Function Documentation

eZURLAliasFilterAppendNodeID::process (   $text,
$languageObject,
$caller 
)

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

Parameters
stringThe text of the URL alias
objectThe eZContentObject object being published object The eZContentObjectTreeNode in which the eZContentObject is published
Returns
string The transformed URL alias with the nodeID

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