Mage_Catalog_Helper_Product_Url Class Reference

Inheritance diagram for Mage_Catalog_Helper_Product_Url:

Mage_Core_Helper_Url Mage_Core_Helper_Abstract

List of all members.

Public Member Functions

 getConvertTable ()
 format ($string)

Protected Attributes

 $_convertTable


Detailed Description

Definition at line 35 of file Url.php.


Member Function Documentation

format ( string  ) 

Definition at line 55 of file Url.php.

00056     {
00057         return strtr($string, $this->getConvertTable());
00058     }

getConvertTable (  ) 

Definition at line 44 of file Url.php.

00045     {
00046         if (is_null($this->_convertTable)) {
00047             $convertNode = Mage::getConfig()->getNode('default/url/convert');
00048             foreach ($convertNode->children() as $node) {
00049                 $this->_convertTable[strval($node->from)] = strval($node->to);
00050             }
00051         }
00052         return $this->_convertTable;
00053     }


Member Data Documentation

$_convertTable [protected]

Definition at line 42 of file Url.php.


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

Generated on Sat Jul 4 17:23:38 2009 for Magento by  doxygen 1.5.8