适配存储接口还是交由第三方插件

This commit is contained in:
joyqi
2014-02-18 09:49:39 +08:00
parent 502cd5f7ca
commit 5be3d08bd0
7 changed files with 0 additions and 26 deletions

View File

@@ -1,26 +0,0 @@
<?php
/**
* Typecho_Storage_Adapter
*
* @copyright Copyright (c) 2012 Typecho Team. (http://typecho.org)
* @author Joyqi <magike.net@gmail.com>
* @license GNU General Public License 2.0
*/
interface Typecho_Storage_Adapter
{
public static function isAvailable();
public static function check(array $config);
public static function config(Typecho_Widget_Helper_Form $form);
public function get($path);
public function add($localPath);
public function set($path, $localPath);
public function delete($path);
}