protected function setTitleEditCurrency()
    {
        if (isset($this->data_currency['code'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_currency['name']));
        } else {
            $title = $this->text('Add currency');
        }

        $this->setTitle($title);
    }
protected function setTitleEditCurrency()
    {
        if (isset($this->data_currency['code'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_currency['name']));
        } else {
            $title = $this->text('Add currency');
        }

        $this->setTitle($title);
    }
protected function setTitleEditCurrency ( ) { if ( isset ( $ this -> data_currency [ 'code' ] ) ) { $ title = $ this -> text ( 'Edit %name' , array ( '%name' => $ this -> data_currency [ 'name' ] ) ) ; } else { $ title = $ this -> text ( 'Add currency' ) ; } $ this -> setTitle ( $ title ) ; }
Sets titles on the currency edit page
Sets titles on the currency edit page