-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b723d05
commit 3f1fd75
Showing
7 changed files
with
36 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "myqee/storage", | ||
"description": "MyQEE Storage Module", | ||
"keywords": ["MyQEE", "Module", "Storage"], | ||
"homepage": "http://www.myqee.com/", | ||
"type": "myqee-module", | ||
"license": "Apache-2.0", | ||
"authors": [ | ||
{ | ||
"name": "jonwang", | ||
"email": "[email protected]", | ||
"homepage": "http://www.queyang.com/" | ||
} | ||
], | ||
"autoload": { | ||
"psr-0": {"MyQEE\\Module\\Storage": "src/"} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,12 @@ | |
* 持久存储类 | ||
* | ||
* @author 呼吸二氧化碳 <[email protected]> | ||
* @category MyQEE | ||
* @package System | ||
* @subpackage Core | ||
* @category Module | ||
* @package Storage | ||
* @copyright Copyright (c) 2008-2013 myqee.com | ||
* @license http://www.myqee.com/license.html | ||
*/ | ||
class Core_Storage | ||
class Module_Storage | ||
{ | ||
/** | ||
* 驱动类型为文件 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,12 @@ | |
* 存储驱动 | ||
* | ||
* @author 呼吸二氧化碳 <[email protected]> | ||
* @category Core | ||
* @package Classes | ||
* @category Module | ||
* @package Storage | ||
* @copyright Copyright (c) 2008-2013 myqee.com | ||
* @license http://www.myqee.com/license.html | ||
*/ | ||
abstract class Core_Storage_Driver | ||
abstract class Module_Storage_Driver | ||
{ | ||
protected $config = array(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,12 @@ | |
* 数据库存储驱动器 | ||
* | ||
* @author 呼吸二氧化碳 <[email protected]> | ||
* @category MyQEE | ||
* @package System | ||
* @subpackage Core | ||
* @category Module | ||
* @package Storage | ||
* @copyright Copyright (c) 2008-2013 myqee.com | ||
* @license http://www.myqee.com/license.html | ||
*/ | ||
class Core_Storage_Driver_Database extends Storage_Driver | ||
class Module_Storage_Driver_Database extends Storage_Driver | ||
{ | ||
/** | ||
* 数据库配置 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,12 @@ | |
* 文件处理驱动 | ||
* | ||
* @author 呼吸二氧化碳 <[email protected]> | ||
* @category Core | ||
* @package Classes | ||
* @category Module | ||
* @package Storage | ||
* @copyright Copyright (c) 2008-2013 myqee.com | ||
* @license http://www.myqee.com/license.html | ||
*/ | ||
class Core_Storage_Driver_File extends Storage_Driver | ||
class Module_Storage_Driver_File extends Storage_Driver | ||
{ | ||
/** | ||
* storage目录 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,12 @@ | |
* Redis Storage驱动器 | ||
* | ||
* @author 呼吸二氧化碳 <[email protected]> | ||
* @category MyQEE | ||
* @package System | ||
* @subpackage Core | ||
* @category Module | ||
* @package Storage | ||
* @copyright Copyright (c) 2008-2013 myqee.com | ||
* @license http://www.myqee.com/license.html | ||
*/ | ||
class Core_Storage_Driver_Redis extends Storage_Driver | ||
class Module_Storage_Driver_Redis extends Storage_Driver | ||
{ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,12 @@ | |
* | ||
* @see http://www.openstack.org/software/openstack-storage/ | ||
* @author 呼吸二氧化碳 <[email protected]> | ||
* @category MyQEE | ||
* @package System | ||
* @subpackage Core | ||
* @category Module | ||
* @package Storage | ||
* @copyright Copyright (c) 2008-2013 myqee.com | ||
* @license http://www.myqee.com/license.html | ||
*/ | ||
class Core_Storage_Driver_Swift extends Storage_Driver | ||
class Module_Storage_Driver_Swift extends Storage_Driver | ||
{ | ||
/** | ||
* 授权信息 | ||
|