Class Mage_Catalog_Model_Product_Url

Description

Product Url model

Located in /Catalog/Model/Product/Url.php (line 35)

Varien_Object
   |
   --Mage_Catalog_Model_Product_Url
Class Constant Summary
CACHE_TAG = 'url_rewrite'
Variable Summary
Method Summary
string formatUrlKey (string $str)
string getProductUrl (Mage_Catalog_Model_Product $product, [bool $useSid = null])
string getUrl (Mage_Catalog_Model_Product $product, [array $params = array()])
string getUrlInStore (Mage_Catalog_Model_Product $product, [array $params = array()])
string getUrlPath (Mage_Catalog_Model_Product $product, [Mage_Catalog_Model_Category $category = null])
string _validImage (string $image)
Variables
static Mage_Core_Model_Url $_url (line 44)

Static URL instance

  • access: protected
static Mage_Core_Model_Url_Rewrite $_urlRewrite (line 51)

Static URL Rewrite Instance

  • access: protected
Methods
formatUrlKey (line 133)

Format Key for URL

  • access: public
string formatUrlKey (string $str)
  • string $str
getProductUrl (line 113)

Retrieve Product URL

  • access: public
string getProductUrl (Mage_Catalog_Model_Product $product, [bool $useSid = null])
getUrl (line 172)

Retrieve Product URL using UrlDataObject

  • access: public
string getUrl (Mage_Catalog_Model_Product $product, [array $params = array()])
getUrlInstance (line 58)

Retrieve URL Instance

  • access: public
Mage_Core_Model_Url getUrlInstance ()
getUrlInStore (line 100)

Retrieve URL in current store

  • access: public
string getUrlInStore (Mage_Catalog_Model_Product $product, [array $params = array()])
getUrlPath (line 150)

Retrieve Product Url path (with category if exists)

  • access: public
string getUrlPath (Mage_Catalog_Model_Product $product, [Mage_Catalog_Model_Category $category = null])
getUrlRewrite (line 71)

Retrieve URL Rewrite Instance

  • access: public
Mage_Core_Model_Url_Rewrite getUrlRewrite ()
_validImage (line 85)

'no_selection' shouldn't be a valid image attribute value

  • access: protected
string _validImage (string $image)
  • string $image
Class Constants
CACHE_TAG = 'url_rewrite' (line 37)

Documentation generated on Fri, 11 Feb 2011 17:15:28 +0200 by phpDocumentor 1.4.3