protected function setTitleEditCountryState()
    {
        if (isset($this->data_state['state_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_state['name']));
        } else {
            $title = $this->text('Add country state for %name', array('%name' => $this->data_country['name']));
        }

        $this->setTitle($title);
    }
protected function setTitleEditCountryState()
    {
        if (isset($this->data_state['state_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_state['name']));
        } else {
            $title = $this->text('Add country state for %name', array('%name' => $this->data_country['name']));
        }

        $this->setTitle($title);
    }
protected function setTitleEditCountryState ( ) { if ( isset ( $ this -> data_state [ 'state_id' ] ) ) { $ title = $ this -> text ( 'Edit %name' , array ( '%name' => $ this -> data_state [ 'name' ] ) ) ; } else { $ title = $ this -> text ( 'Add country state for %name' , array ( '%name' => $ this -> data_country [ 'name' ] ) ) ; } $ this -> setTitle ( $ title ) ; }
Sets titles on the edit country state page
Sets titles on the edit country state page