shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

location.php (325B)


      1 <?php
      2 class ModelLocalisationLocation extends Model {
      3 	public function getLocation($location_id) {
      4 		$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 . "'");
      5 
      6 		return $query->row;
      7 	}
      8 }