protected function addCountry()
    {
        if (!$this->isError() && !$this->country->add($this->getSubmitted())) {
            $this->errorAndExit($this->text('Unexpected result'));
        }
    }
protected function addCountry()
    {
        if (!$this->isError() && !$this->country->add($this->getSubmitted())) {
            $this->errorAndExit($this->text('Unexpected result'));
        }
    }
protected function addCountry ( ) { if ( ! $ this -> isError ( ) && ! $ this -> country -> add ( $ this -> getSubmitted ( ) ) ) { $ this -> errorAndExit ( $ this -> text ( 'Unexpected result' ) ) ; } }
Add a new country
Add a new country