Skip to content

Commit

Permalink
Storage 独立为模块
Browse files Browse the repository at this point in the history
  • Loading branch information
breath-co2 committed Sep 11, 2013
1 parent b723d05 commit 3f1fd75
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 22 deletions.
18 changes: 18 additions & 0 deletions modules/storage/composer.json
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/"}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
* 驱动类型为文件
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
* 数据库配置
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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目录
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
* 授权信息
Expand Down

0 comments on commit 3f1fd75

Please sign in to comment.