Creating a new Unit object

  1. <?php
  2.   $unitArray array('local','rel''hpa''c''mm''kmh');
  3.   // OR
  4.   $unitArray array(
  5.     'U_DATE' => 'local',
  6.     'U_HUM'  => 'rel',
  7.     'U_PRES' => 'hpa',
  8.     'U_TEMP' => 'c',
  9.     'U_RAIN' => 'mm',
  10.     'U_WIND' => 'kmh');
  11.  
  12.   $units =  new Unit($unitArray);

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