erm did a small amount

output database to view
added basic filters
improve bootstrap theming and positioning
added pagination
This commit is contained in:
boris
2024-11-28 23:40:06 +00:00
parent 5c24228c20
commit 4005328979
36 changed files with 6746 additions and 8223 deletions

View File

@@ -1,11 +1,12 @@
<?php
class FacilityData {
protected $_id, $_title, $_category, $_description, $_houseNumber, $_streetName, $_county, $_town, $_postcode, $_lng, $_lat;
protected $_id, $_title, $_category, $_status, $_description, $_houseNumber, $_streetName, $_county, $_town, $_postcode, $_lng, $_lat, $_contributor;
public function __construct($dbRow) {
$this->_id = $dbRow['_id'];
$this->_id = $dbRow['id'];
$this->_title = $dbRow['title'];
$this->_category = $dbRow['category'];
$this->_status = $dbRow['status'];
$this->_description = $dbRow['description'];
$this->_houseNumber = $dbRow['houseNumber'];
$this->_streetName = $dbRow['streetName'];
@@ -14,6 +15,7 @@ class FacilityData {
$this->_postcode = $dbRow['postcode'];
$this->_lng = $dbRow['lng'];
$this->_lat = $dbRow['lat'];
$this->_contributor = $dbRow['contributor'];
}
public function getId() {
@@ -25,6 +27,10 @@ class FacilityData {
public function getCategory() {
return $this->_category;
}
public function getStatus() {
return $this->_status;
}
public function getDescription() {
return $this->_description;
}
@@ -49,4 +55,7 @@ class FacilityData {
public function getLat() {
return $this->_lat;
}
public function getContributor() {
return $this->_contributor;
}
}