Mage_SalesRule_Model_Rule_Action_Collection Class Reference

Inheritance diagram for Mage_SalesRule_Model_Rule_Action_Collection:

Mage_Rule_Model_Action_Collection Mage_Rule_Model_Action_Abstract Varien_Object Mage_Rule_Model_Action_Interface

List of all members.

Public Member Functions

 __construct ()
 getNewChildSelectOptions ()


Detailed Description

Definition at line 28 of file Collection.php.


Constructor & Destructor Documentation

__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 Mage_Rule_Model_Action_Collection.

Definition at line 30 of file Collection.php.

00031     {
00032         parent::__construct();
00033         $this->setType('salesrule/rule_action_collection');
00034     }


Member Function Documentation

getNewChildSelectOptions (  ) 

Reimplemented from Mage_Rule_Model_Action_Abstract.

Definition at line 36 of file Collection.php.

00037     {
00038         $actions = parent::getNewChildSelectOptions();
00039         $actions = array_merge_recursive($actions, array(
00040             array('value'=>'salesrule/rule_action_product', 'label'=>Mage::helper('salesrule')->__('Update the Product')),
00041         ));
00042         return $actions;
00043     }


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

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