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();
    }
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();
    }
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 ( ) ; }
Displays the currency edit form
@param string|null $code
Displays the currency edit form