diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-19 15:46:04 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-19 15:46:04 +0200 |
commit | 14890de35a19b44df6537e601240fe38ff6a9ed9 (patch) | |
tree | 7802fdcce30bab91c7f97f73fd0456cc0c5d8bd3 /inc/store/store.class.php | |
parent | ff4d8c8c1efca0759330906419cb5f36de86d156 (diff) | |
download | wallabag-14890de35a19b44df6537e601240fe38ff6a9ed9.tar.gz wallabag-14890de35a19b44df6537e601240fe38ff6a9ed9.tar.zst wallabag-14890de35a19b44df6537e601240fe38ff6a9ed9.zip |
création d'une classe store() pour gérer tout type de stockage : sqlite, file, mysql, etc.
Diffstat (limited to 'inc/store/store.class.php')
-rw-r--r-- | inc/store/store.class.php | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/inc/store/store.class.php b/inc/store/store.class.php new file mode 100644 index 00000000..ae3cb341 --- /dev/null +++ b/inc/store/store.class.php | |||
@@ -0,0 +1,51 @@ | |||
1 | <?php | ||
2 | /** | ||
3 | * poche, a read it later open source system | ||
4 | * | ||
5 | * @category poche | ||
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | ||
7 | * @copyright 2013 | ||
8 | * @license http://www.wtfpl.net/ see COPYING file | ||
9 | */ | ||
10 | |||
11 | class Store { | ||
12 | function __construct() { | ||
13 | |||
14 | } | ||
15 | |||
16 | public function add() { | ||
17 | |||
18 | } | ||
19 | |||
20 | public function retrieveOneById($id) { | ||
21 | |||
22 | } | ||
23 | |||
24 | public function retrieveOneByURL($url) { | ||
25 | |||
26 | } | ||
27 | |||
28 | public function deleteById($id) { | ||
29 | |||
30 | } | ||
31 | |||
32 | public function favoriteById($id) { | ||
33 | |||
34 | } | ||
35 | |||
36 | public function archiveById($id) { | ||
37 | |||
38 | } | ||
39 | |||
40 | public function getEntriesByView($view) { | ||
41 | |||
42 | } | ||
43 | |||
44 | public function getLastId() { | ||
45 | |||
46 | } | ||
47 | |||
48 | public function updateContentById($id) { | ||
49 | |||
50 | } | ||
51 | } | ||