public function editPriceRule($rule_id = null)
    {
        $this->setPriceRule($rule_id);
        $this->setTitleEditPriceRule();
        $this->setBreadcrumbEditPriceRule();

        $this->setData('price_rule', $this->data_rule);
        $this->setData('types', $this->price_rule->getTypes());
        $this->setData('triggers', $this->getTriggersPriceRule());
        $this->setData('currencies', $this->getCurrenciesPriceRule());

        $this->submitEditPriceRule();
        $this->outputEditPriceRule();
    }
public function editPriceRule($rule_id = null)
    {
        $this->setPriceRule($rule_id);
        $this->setTitleEditPriceRule();
        $this->setBreadcrumbEditPriceRule();

        $this->setData('price_rule', $this->data_rule);
        $this->setData('types', $this->price_rule->getTypes());
        $this->setData('triggers', $this->getTriggersPriceRule());
        $this->setData('currencies', $this->getCurrenciesPriceRule());

        $this->submitEditPriceRule();
        $this->outputEditPriceRule();
    }
public function editPriceRule ( $ rule_id = null ) { $ this -> setPriceRule ( $ rule_id ) ; $ this -> setTitleEditPriceRule ( ) ; $ this -> setBreadcrumbEditPriceRule ( ) ; $ this -> setData ( 'price_rule' , $ this -> data_rule ) ; $ this -> setData ( 'types' , $ this -> price_rule -> getTypes ( ) ) ; $ this -> setData ( 'triggers' , $ this -> getTriggersPriceRule ( ) ) ; $ this -> setData ( 'currencies' , $ this -> getCurrenciesPriceRule ( ) ) ; $ this -> submitEditPriceRule ( ) ; $ this -> outputEditPriceRule ( ) ; }
Displays the price rule edit form
@param null|integer $rule_id
Displays the price rule edit form