Services_Weather_Metar::setMetarSource

Services_Weather_Metar::setMetarSource() – Sets the source, where the class tries to locate the METAR data

Synopsis

require_once '/Weather/Metar.php';

void Services_Weather_Metar::setMetarSource ( string $source , string $sourcePath = "" )

Description

Source can be http, ftp or file. An alternate sourcepath can be provided.

Parameter

string $source

string $sourcePath

Throws

No exceptions thrown.

Note

This function can not be called statically.