aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/store/sqlite.class.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-21 18:09:25 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-21 18:09:25 +0200
commit44e77bfa2481090e559b56fd8ffbe5b175ab55ca (patch)
tree5a55ef08bd91ff9b989497acd01327f306d05a41 /inc/store/sqlite.class.php
parent016989b79af1f950f449e33c76f368c307c28c19 (diff)
downloadwallabag-44e77bfa2481090e559b56fd8ffbe5b175ab55ca.tar.gz
wallabag-44e77bfa2481090e559b56fd8ffbe5b175ab55ca.tar.zst
wallabag-44e77bfa2481090e559b56fd8ffbe5b175ab55ca.zip
Fixed #55 - export des données au format json
Diffstat (limited to 'inc/store/sqlite.class.php')
-rw-r--r--inc/store/sqlite.class.php8
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