first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
class ModelLocalisationLocation extends Model {
|
||||
public function getLocation($location_id) {
|
||||
$query = $this->db->query("SELECT location_id, name, address, geocode, telephone, fax, image, open, comment FROM " . DB_PREFIX . "location WHERE location_id = '" . (int)$location_id . "'");
|
||||
|
||||
return $query->row;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user