class/hotelservicetype.php 1 location
|
@@ 304-314 (lines=11) @@
|
301 |
|
* @copyright 1997-2010 The Martin Group |
302 |
|
* @author Martin <[email protected]> |
303 |
|
* */ |
304 |
|
public function GetList() |
305 |
|
{ |
306 |
|
$sql = "SELECT * FROM " . $this->db->prefix("martin_hotel_service_type"); |
307 |
|
$result = $this->db->query($sql); |
308 |
|
$rows = array(); |
309 |
|
while ($row = $this->db->fetchArray($result)) { |
310 |
|
$rows[$row['service_type_id']] = $row['service_type_name']; |
311 |
|
} |
312 |
|
|
313 |
|
return $rows; |
314 |
|
} |
315 |
|
} |
316 |
|
|
class/order.php 1 location
|
@@ 652-662 (lines=11) @@
|
649 |
|
* @copyright 1997-2010 The Martin Group |
650 |
|
* @author Martin <[email protected]> |
651 |
|
* */ |
652 |
|
public function GetList() |
653 |
|
{ |
654 |
|
$sql = "SELECT * FROM " . $this->db->prefix("martin_order"); |
655 |
|
$result = $this->db->query($sql); |
656 |
|
$rows = array(); |
657 |
|
while ($row = $this->db->fetchArray($result)) { |
658 |
|
$rows[$row['order_id']] = $row; |
659 |
|
} |
660 |
|
|
661 |
|
return $rows; |
662 |
|
} |
663 |
|
|
664 |
|
/** |
665 |
|
* @get hotel list |