original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Displays the price rule edit form
  @param null|integer $rule_id
docstring_tokens: Displays the price rule edit form