mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-18 15:31:06 +08:00
Extension installer wip
This commit is contained in:
@@ -109,6 +109,19 @@ abstract class Application extends Module
|
||||
* @var array the parameters supplied to the requested action.
|
||||
*/
|
||||
public $requestedParams;
|
||||
/**
|
||||
* @var array list of installed Yii extensions. Each array element represents a single extension
|
||||
* with the following structure:
|
||||
*
|
||||
* ~~~
|
||||
* [
|
||||
* 'name' => 'extension name',
|
||||
* 'version' => 'version number',
|
||||
* 'bootstrap' => 'BootstrapClassName',
|
||||
* ]
|
||||
* ~~~
|
||||
*/
|
||||
public $extensions = array();
|
||||
|
||||
/**
|
||||
* @var string Used to reserve memory for fatal error handler.
|
||||
|
||||
19
framework/yii/base/Extension.php
Normal file
19
framework/yii/base/Extension.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://www.yiiframework.com/
|
||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
namespace yii\base;
|
||||
|
||||
/**
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
* @since 2.0
|
||||
*/
|
||||
class Extension
|
||||
{
|
||||
public static function init()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user