mirror of
https://github.com/moparisthebest/wallabag
synced 2024-12-18 05:32:23 -05:00
Get all entries
This commit is contained in:
parent
6dc90c704c
commit
d4ed21081c
@ -11,7 +11,8 @@ class EntryApi
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function getEntries() {
|
public function getEntries() {
|
||||||
//Todo
|
$sql = "SELECT * FROM entries";
|
||||||
return array();
|
$entries = $this->db->fetchAssoc($sql);
|
||||||
|
return ($entries ? $entries : array());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user