src/Common/Model/Country.php
public function getByCode($sCode)
    {
        $aCountries = $this->getAll();

        return ! empty($aCountries[$sCode]) ? $aCountries[$sCode] : false;
    }
public function getByCode($sCode)
    {
        $aCountries = $this->getAll();

        return ! empty($aCountries[$sCode]) ? $aCountries[$sCode] : false;
    }
public function getByCode ( $ sCode ) { $ aCountries = $ this -> getAll ( ) ; return ! empty ( $ aCountries [ $ sCode ] ) ? $ aCountries [ $ sCode ] : false ; }
Get a country by it's code
@param  string $sCode The code to look for
@return mixed         stdClass on success, false on failure
Get a country by it s code