mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
création d'une classe store() pour gérer tout type de stockage : sqlite, file, mysql, etc.
This commit is contained in:
parent
ff4d8c8c1e
commit
14890de35a
5 changed files with 262 additions and 130 deletions
51
inc/store/file.class.php
Normal file
51
inc/store/file.class.php
Normal file
|
@ -0,0 +1,51 @@
|
|||
<?php
|
||||
/**
|
||||
* poche, a read it later open source system
|
||||
*
|
||||
* @category poche
|
||||
* @author Nicolas Lœuillet <support@inthepoche.com>
|
||||
* @copyright 2013
|
||||
* @license http://www.wtfpl.net/ see COPYING file
|
||||
*/
|
||||
|
||||
class File extends Store {
|
||||
function __construct() {
|
||||
|
||||
}
|
||||
|
||||
public function add() {
|
||||
|
||||
}
|
||||
|
||||
public function retrieveOneById($id) {
|
||||
|
||||
}
|
||||
|
||||
public function retrieveOneByURL($url) {
|
||||
|
||||
}
|
||||
|
||||
public function deleteById($id) {
|
||||
|
||||
}
|
||||
|
||||
public function favoriteById($id) {
|
||||
|
||||
}
|
||||
|
||||
public function archiveById($id) {
|
||||
|
||||
}
|
||||
|
||||
public function getEntriesByView($view) {
|
||||
|
||||
}
|
||||
|
||||
public function getLastId() {
|
||||
|
||||
}
|
||||
|
||||
public function updateContentById($id) {
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue