1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-17 21:22:15 -05:00

Get all entries

This commit is contained in:
Vincent Jousse 2013-11-22 16:38:49 +01:00
parent 6dc90c704c
commit d4ed21081c

View File

@ -11,7 +11,8 @@ class EntryApi
}
public function getEntries() {
//Todo
return array();
$sql = "SELECT * FROM entries";
$entries = $this->db->fetchAssoc($sql);
return ($entries ? $entries : array());
}
}