Mage_Catalog_Block_Product_View_Abstract Class Reference

Inheritance diagram for Mage_Catalog_Block_Product_View_Abstract:

Mage_Catalog_Block_Product_Abstract Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object Mage_Bundle_Block_Catalog_Product_View_Type_Bundle Mage_Catalog_Block_Product_View_Media Mage_Catalog_Block_Product_View_Type_Configurable Mage_Catalog_Block_Product_View_Type_Grouped Mage_Catalog_Block_Product_View_Type_Simple Mage_Catalog_Block_Product_View_Type_Virtual Mage_Downloadable_Block_Catalog_Product_View_Type

List of all members.

Public Member Functions

 getProduct ()


Detailed Description

Definition at line 34 of file Abstract.php.


Member Function Documentation

getProduct (  ) 

Retrive product

Returns:
Mage_Catalog_Model_Product

Reimplemented from Mage_Catalog_Block_Product_Abstract.

Definition at line 41 of file Abstract.php.

00042     {
00043         $product = parent::getProduct();
00044         if (is_null($product->getTypeInstance(true)->getStoreFilter($product))) {
00045             $product->getTypeInstance(true)->setStoreFilter(Mage::app()->getStore(), $product);
00046         }
00047 
00048         return $product;
00049     }


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

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