Mage_GoogleOptimizer_Block_Code_Product Class Reference

Inheritance diagram for Mage_GoogleOptimizer_Block_Code_Product:

Mage_GoogleOptimizer_Block_Code Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getProduct ()
 getGoogleOptimizer ()

Protected Member Functions

 _initGoogleOptimizerModel ()


Detailed Description

Definition at line 35 of file Product.php.


Member Function Documentation

_initGoogleOptimizerModel (  )  [protected]

override this method if need something special for type of script

Returns:
Mage_GoogleOptimizer_Block_Code

Reimplemented from Mage_GoogleOptimizer_Block_Code.

Definition at line 37 of file Product.php.

00038     {
00039         $this->_setGoogleOptimizerModel($this->getGoogleOptimizer());
00040         return parent::_initGoogleOptimizerModel();
00041     }

getGoogleOptimizer (  ) 

Definition at line 48 of file Product.php.

00049     {
00050         return $this->getProduct()->getGoogleOptimizerScripts();
00051     }

getProduct (  ) 

Definition at line 43 of file Product.php.

00044     {
00045         return Mage::registry('current_product');
00046     }


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

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