Creating a new Unit object
<?php
$unitArray
=
array
(
'local'
,
'rel'
,
'hpa'
,
'c'
,
'mm'
,
'kmh'
)
;
// OR
$unitArray
=
array
(
'U_DATE'
=>
'local'
,
'U_HUM'
=>
'rel'
,
'U_PRES'
=>
'hpa'
,
'U_TEMP'
=>
'c'
,
'U_RAIN'
=>
'mm'
,
'U_WIND'
=>
'kmh'
)
;
$units
=
new
Unit
(
$unitArray
)
;
Documentation generated on Mon, 17 Oct 2011 16:46:21 +0200 by
phpDocumentor 1.4.3