public static function getCountyID($county){
        if(in_array($county, self::$counties)){
            $names = array_keys(self::$counties, $county);
            return $names[0];
        }
        return false;
    }
public static function getCountyID($county){
        if(in_array($county, self::$counties)){
            $names = array_keys(self::$counties, $county);
            return $names[0];
        }
        return false;
    }
public static function getCountyID ( $ county ) { if ( in_array ( $ county , self :: $ counties ) ) { $ names = array_keys ( self :: $ counties , $ county ) ; return $ names [ 0 ] ; } return false ; }
Returns the id of a given county name
@param string $county This should be the county name you wish to find the id for
@return int|false Returns the id of the given county name if it exists else returns false
Returns the id of a given county name