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

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

        return ! empty($aContinents[$sCode]) ? $aContinents[$sCode] : false;
    }
public function getContinentByCode ( $ sCode ) { $ aContinents = $ this -> getAll ( ) ; return ! empty ( $ aContinents [ $ sCode ] ) ? $ aContinents [ $ sCode ] : false ; }
Get a continent by it's code
@param  string $sCode The continents code
@return mixed         stdClass on success, false on failure
Get a continent by it s code