Public Member Functions | |
__construct () | |
getNewChildSelectOptions () |
Definition at line 28 of file Collection.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 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 }
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 }