diff options
Diffstat (limited to 'inc/store/sqlite.class.php')
-rw-r--r-- | inc/store/sqlite.class.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/store/sqlite.class.php b/inc/store/sqlite.class.php index b2ae94a7..d5208a29 100644 --- a/inc/store/sqlite.class.php +++ b/inc/store/sqlite.class.php | |||
@@ -38,6 +38,14 @@ class Sqlite extends Store { | |||
38 | } | 38 | } |
39 | } | 39 | } |
40 | 40 | ||
41 | public function retrieveAll() { | ||
42 | $sql = "SELECT * FROM entries ORDER BY id"; | ||
43 | $query = $this->executeQuery($sql, array()); | ||
44 | $entries = $query->fetchAll(); | ||
45 | |||
46 | return $entries; | ||
47 | } | ||
48 | |||
41 | public function retrieveOneById($id) { | 49 | public function retrieveOneById($id) { |
42 | parent::__construct(); | 50 | parent::__construct(); |
43 | 51 | ||