Public Member Functions | |
__construct () | |
isShow () | |
getUrl ($route= '', $params=array()) |
Definition at line 35 of file Price.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Varien_Object.
Definition at line 37 of file Price.php.
00038 { 00039 parent::__construct(); 00040 $this->setTemplate('productalert/price.phtml'); 00041 }
getUrl | ( | $ | route = '' , |
|
$ | params = array() | |||
) |
Generate url by route and parameters
string | $route | |
array | $params |
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 52 of file Price.php.
00053 { 00054 return Mage::helper('productalert')->getSaveUrl('price'); 00055 }
isShow | ( | ) |
Definition at line 43 of file Price.php.
00044 { 00045 if (!Mage::getStoreConfig('catalog/productalert/allow_price')) { 00046 return false; 00047 } 00048 00049 return true; 00050 }