Class Unit

Description

The class is responsible of getting, setting and filtering the possible values of the used measurement units used by the station sensors.

  • author: Alejandro Albarca Martinez
  • version: $Id: Units.php 2011-10-17 17:00
  • copyright: Copyright (c) 2011 NETFLIE. (http://meteolive.netflie.es)
  • name: Unit
  • license: GNU GPLv3

Located in /Unit.php (line 29)


	
			
Method Summary
Unit __construct (array $units)
array __get (array $name)
void __set (array $name, arry $value)
Methods
Constructor __construct (line 79)

Create a new Unit object.

Unit __construct (array $units)
  • array $units: Array of units.
__get (line 134)

Get the value of a unit.

  • return: Unit value
  • access: public
array __get (array $name)
  • array $name: Unit name
__set (line 106)

Set a value for a unit.

  • access: public
void __set (array $name, arry $value)
  • array $name: Unit name
  • arry $value: Unit value

Documentation generated on Mon, 17 Oct 2011 16:46:21 +0200 by phpDocumentor 1.4.3