Mage_CatalogRule_Model_Rule_Action_Product Class Reference

Inheritance diagram for Mage_CatalogRule_Model_Rule_Action_Product:

Mage_Rule_Model_Action_Abstract Varien_Object Mage_Rule_Model_Action_Interface

List of all members.

Public Member Functions

 loadAttributeOptions ()
 loadOperatorOptions ()
 asHtml ()


Detailed Description

Definition at line 28 of file Product.php.


Member Function Documentation

asHtml (  ) 

Reimplemented from Mage_Rule_Model_Action_Abstract.

Definition at line 49 of file Product.php.

00050     {
00051         $html = $this->getTypeElement()->getHtml().Mage::helper('catalogrule')->__("Update product's %s %s: %s", $this->getAttributeElement()->getHtml(), $this->getOperatorElement()->getHtml(), $this->getValueElement()->getHtml());
00052         $html.= $this->getRemoveLinkHtml();
00053         return $html;
00054     }

loadAttributeOptions (  ) 

Reimplemented from Mage_Rule_Model_Action_Abstract.

Definition at line 30 of file Product.php.

00031     {
00032         $this->setAttributeOption(array(
00033             'rule_price'=>Mage::helper('cataloginventory')->__('Rule price'),
00034         ));
00035         return $this;
00036     }

loadOperatorOptions (  ) 

Reimplemented from Mage_Rule_Model_Action_Abstract.

Definition at line 38 of file Product.php.

00039     {
00040         $this->setOperatorOption(array(
00041             'to_fixed'=>Mage::helper('cataloginventory')->__('To Fixed Value'),
00042             'to_percent'=>Mage::helper('cataloginventory')->__('To Percentage'),
00043             'by_fixed'=>Mage::helper('cataloginventory')->__('By Fixed value'),
00044             'by_percent'=>Mage::helper('cataloginventory')->__('By Percentage'),
00045         ));
00046         return $this;
00047     }


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

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