eZURLTranslator Class Reference

Translation requested URLs into new URLs internally. More...

List of all members.


Public Methods

 eZURLTranslator ()
translate (&$uri)
 translateNodeTree (&$uri)
instance ()

Detailed Description

Translation requested URLs into new URLs internally.

Performs translation on supplied urls, currently only does tree node translation.

Definition at line ezurltranslator.php.


Constructor & Destructor Documentation

eZURLTranslator::eZURLTranslator  
 

Constructor

Definition at line ezurltranslator.php.

Referenced by instance().


Member Function Documentation

& eZURLTranslator::instance  
 

Returns:
The only instance of the translator.

Definition at line ezurltranslator.php.

References instance().

Referenced by instance().

& eZURLTranslator::translate &$    uri
 

Translates the url found in the object $uri and returns the corrected url object.

Returns:
false if no url translation was done.

Definition at line ezurltranslator.php.

References translateNodeTree().

eZURLTranslator::translateNodeTree &$    uri
 

Tries to find a node path which matches the uri $uri and returns a new uri string which views that node.

Note:
This code should get a separate class/package.

Definition at line ezurltranslator.php.

References eZDebugSetting::addTimingPoint().

Referenced by translate().


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

Exponential