Port entirely to a MVC-like pattern #37

Open
kazhnuz wants to merge 29 commits from refactor/use-bludit-boot-code into main
Showing only changes of commit ecc7ab1d3f - Show all commits

View file

@ -15,6 +15,10 @@ class Repository {
return $this->fetchAll("SELECT * FROM {{table}}");
}
public function getAllInOrder() {
return $this->fetchAll("SELECT * FROM {{table}} ORDER BY id");
}
protected function doquery($query, $params = []) {
global $db;
return $db->doquery($this->table, $query, $params);