Exemplo n.º 1
0
 static function RowToObject($row)
 {
     $zone = new Zone();
     $zone->ZoneID = $row["ZoneID"];
     $zone->DataCenterID = $row["DataCenterID"];
     $zone->Description = $row["Description"];
     $zone->MapX1 = $row["MapX1"];
     $zone->MapY1 = $row["MapY1"];
     $zone->MapX2 = $row["MapX2"];
     $zone->MapY2 = $row["MapY2"];
     $zone->MapZoom = $row["MapZoom"];
     $zone->MakeDisplay();
     return $zone;
 }