original_string: public function editCurrency($code = null)
      {
          $this->setCurrency($code);
          $this->setTitleEditCurrency();
          $this->setBreadcrumbEditCurrency();
  
          $this->setData('edit', isset($code));
          $this->setData('currency', $this->data_currency);
          $this->setData('can_delete', $this->canDeleteCurrency());
          $this->setData('default_currency', $this->currency->getDefault());
  
          $this->submitEditCurrency();
          $this->outputEditCurrency();
      }
code: public function editCurrency($code = null)
      {
          $this->setCurrency($code);
          $this->setTitleEditCurrency();
          $this->setBreadcrumbEditCurrency();
  
          $this->setData('edit', isset($code));
          $this->setData('currency', $this->data_currency);
          $this->setData('can_delete', $this->canDeleteCurrency());
          $this->setData('default_currency', $this->currency->getDefault());
  
          $this->submitEditCurrency();
          $this->outputEditCurrency();
      }
code_tokens: public function editCurrency ( $ code = null ) { $ this -> setCurrency ( $ code ) ; $ this -> setTitleEditCurrency ( ) ; $ this -> setBreadcrumbEditCurrency ( ) ; $ this -> setData ( 'edit' , isset ( $ code ) ) ; $ this -> setData ( 'currency' , $ this -> data_currency ) ; $ this -> setData ( 'can_delete' , $ this -> canDeleteCurrency ( ) ) ; $ this -> setData ( 'default_currency' , $ this -> currency -> getDefault ( ) ) ; $ this -> submitEditCurrency ( ) ; $ this -> outputEditCurrency ( ) ; }
docstring: Displays the currency edit form
  @param string|null $code
docstring_tokens: Displays the currency edit form