PHP 클래스 Horde_Service_Weather_Parser_Base, horde

Base class for parsing TAF/METAR data. Parsing code adapted from PEAR's Services_Weather_Metar class. Original phpdoc attributes as follows:
저자: Alexander Wirtz ([email protected])
저자: Michael J Rubinsky ([email protected])
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_cloudTypes array CloudType map
$_clouds array Cloud cover code map.
$_conditions array Conditions map
$_sensors array Sensors map
$_unitMap array Built using self::_units
$_units The type of units to convert to.

공개 메소드들

메소드 설명
__construct ( array $params = [] ) constructor
parse ( string $data ) : array Parse the raw data.

보호된 메소드들

메소드 설명
_parse ( array $data )

메소드 상세

__construct() 공개 메소드

constructor
public __construct ( array $params = [] )
$params array Parameter array: - units: (integer) The Horde_Service_Weather::UNITS_* constant.

_parse() 추상적인 보호된 메소드

abstract protected _parse ( array $data )
$data array

parse() 공개 메소드

Parse the raw data.
public parse ( string $data ) : array
$data string The raw TAF or METAR data.
리턴 array The parsed data array.

프로퍼티 상세

$_cloudTypes 보호되어 있는 프로퍼티

CloudType map
protected array $_cloudTypes
리턴 array

$_clouds 보호되어 있는 프로퍼티

Cloud cover code map.
protected array $_clouds
리턴 array

$_conditions 보호되어 있는 프로퍼티

Conditions map
protected array $_conditions
리턴 array

$_sensors 보호되어 있는 프로퍼티

Sensors map
protected array $_sensors
리턴 array

$_unitMap 보호되어 있는 프로퍼티

Built using self::_units
protected array $_unitMap
리턴 array

$_units 보호되어 있는 프로퍼티

The type of units to convert to.
protected $_units