forked from yiisoft/yii2
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
60 changed files
with
286 additions
and
267 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 |
---|---|---|
|
@@ -93,7 +93,7 @@ class BaseYii | |
*/ | ||
public static function getVersion() | ||
{ | ||
return '2.0.39-dev'; | ||
return '2.0.39'; | ||
} | ||
|
||
/** | ||
|
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
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
* | ||
* For more details and usage information on Action, see the [guide article on actions](guide:structure-controllers). | ||
* | ||
* @property string $uniqueId The unique ID of this action among the whole application. This property is | ||
* @property-read string $uniqueId The unique ID of this action among the whole application. This property is | ||
* read-only. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -14,33 +14,39 @@ | |
* | ||
* For more details and usage information on Application, see the [guide article on applications](guide:structure-applications). | ||
* | ||
* @property \yii\web\AssetManager $assetManager The asset manager application component. This property is | ||
* read-only. | ||
* @property \yii\rbac\ManagerInterface $authManager The auth manager application component. Null is returned | ||
* if auth manager is not configured. This property is read-only. | ||
* @property-read \yii\web\AssetManager $assetManager The asset manager application component. This property | ||
* is read-only. | ||
* @property-read \yii\rbac\ManagerInterface $authManager The auth manager application component. Null is | ||
* returned if auth manager is not configured. This property is read-only. | ||
* @property string $basePath The root directory of the application. | ||
* @property \yii\caching\CacheInterface $cache The cache application component. Null if the component is not | ||
* enabled. This property is read-only. | ||
* @property array $container Values given in terms of name-value pairs. This property is write-only. | ||
* @property \yii\db\Connection $db The database connection. This property is read-only. | ||
* @property \yii\web\ErrorHandler|\yii\console\ErrorHandler $errorHandler The error handler application | ||
* @property-read \yii\caching\CacheInterface $cache The cache application component. Null if the component is | ||
* not enabled. This property is read-only. | ||
* @property-write array $container Values given in terms of name-value pairs. This property is write-only. | ||
* @property-read \yii\db\Connection $db The database connection. This property is read-only. | ||
* @property-read \yii\web\ErrorHandler|\yii\console\ErrorHandler $errorHandler The error handler application | ||
* component. This property is read-only. | ||
* @property \yii\i18n\Formatter $formatter The formatter application component. This property is read-only. | ||
* @property \yii\i18n\I18N $i18n The internationalization application component. This property is read-only. | ||
* @property \yii\log\Dispatcher $log The log dispatcher application component. This property is read-only. | ||
* @property \yii\mail\MailerInterface $mailer The mailer application component. This property is read-only. | ||
* @property \yii\web\Request|\yii\console\Request $request The request component. This property is read-only. | ||
* @property \yii\web\Response|\yii\console\Response $response The response component. This property is | ||
* @property-read \yii\i18n\Formatter $formatter The formatter application component. This property is | ||
* read-only. | ||
* @property-read \yii\i18n\I18N $i18n The internationalization application component. This property is | ||
* read-only. | ||
* @property-read \yii\log\Dispatcher $log The log dispatcher application component. This property is | ||
* read-only. | ||
* @property-read \yii\mail\MailerInterface $mailer The mailer application component. This property is | ||
* read-only. | ||
* @property-read \yii\web\Request|\yii\console\Request $request The request component. This property is | ||
* read-only. | ||
* @property-read \yii\web\Response|\yii\console\Response $response The response component. This property is | ||
* read-only. | ||
* @property string $runtimePath The directory that stores runtime files. Defaults to the "runtime" | ||
* subdirectory under [[basePath]]. | ||
* @property \yii\base\Security $security The security application component. This property is read-only. | ||
* @property-read \yii\base\Security $security The security application component. This property is read-only. | ||
* @property string $timeZone The time zone used by this application. | ||
* @property string $uniqueId The unique ID of the module. This property is read-only. | ||
* @property \yii\web\UrlManager $urlManager The URL manager for this application. This property is read-only. | ||
* @property-read string $uniqueId The unique ID of the module. This property is read-only. | ||
* @property-read \yii\web\UrlManager $urlManager The URL manager for this application. This property is | ||
* read-only. | ||
* @property string $vendorPath The directory that stores vendor files. Defaults to "vendor" directory under | ||
* [[basePath]]. | ||
* @property View|\yii\web\View $view The view application component that is used to render various view | ||
* @property-read View|\yii\web\View $view The view application component that is used to render various view | ||
* files. This property is read-only. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -93,7 +93,8 @@ | |
* | ||
* For more details and usage information on Component, see the [guide article on components](guide:concept-components). | ||
* | ||
* @property Behavior[] $behaviors List of behaviors attached to this component. This property is read-only. | ||
* @property-read Behavior[] $behaviors List of behaviors attached to this component. This property is | ||
* read-only. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|
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
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
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 |
---|---|---|
|
@@ -37,19 +37,20 @@ | |
* | ||
* For more details and usage information on Model, see the [guide article on models](guide:structure-models). | ||
* | ||
* @property \yii\validators\Validator[] $activeValidators The validators applicable to the current | ||
* @property-read \yii\validators\Validator[] $activeValidators The validators applicable to the current | ||
* [[scenario]]. This property is read-only. | ||
* @property array $attributes Attribute values (name => value). | ||
* @property array $errors An array of errors for all attributes. Empty array is returned if no error. The | ||
* result is a two-dimensional array. See [[getErrors()]] for detailed description. This property is read-only. | ||
* @property array $firstErrors The first errors. The array keys are the attribute names, and the array values | ||
* are the corresponding error messages. An empty array will be returned if there is no error. This property is | ||
* @property-read array $errors An array of errors for all attributes. Empty array is returned if no error. | ||
* The result is a two-dimensional array. See [[getErrors()]] for detailed description. This property is | ||
* read-only. | ||
* @property ArrayIterator $iterator An iterator for traversing the items in the list. This property is | ||
* @property-read array $firstErrors The first errors. The array keys are the attribute names, and the array | ||
* values are the corresponding error messages. An empty array will be returned if there is no error. This | ||
* property is read-only. | ||
* @property-read ArrayIterator $iterator An iterator for traversing the items in the list. This property is | ||
* read-only. | ||
* @property string $scenario The scenario that this model is in. Defaults to [[SCENARIO_DEFAULT]]. | ||
* @property ArrayObject|\yii\validators\Validator[] $validators All the validators declared in the model. | ||
* This property is read-only. | ||
* @property-read ArrayObject|\yii\validators\Validator[] $validators All the validators declared in the | ||
* model. This property is read-only. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|
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 |
---|---|---|
|
@@ -23,17 +23,17 @@ | |
* | ||
* For more details and usage information on Module, see the [guide article on modules](guide:structure-modules). | ||
* | ||
* @property array $aliases List of path aliases to be defined. The array keys are alias names (must start | ||
* with `@`) and the array values are the corresponding paths or aliases. See [[setAliases()]] for an example. | ||
* This property is write-only. | ||
* @property-write array $aliases List of path aliases to be defined. The array keys are alias names (must | ||
* start with `@`) and the array values are the corresponding paths or aliases. See [[setAliases()]] for an | ||
* example. This property is write-only. | ||
* @property string $basePath The root directory of the module. | ||
* @property string $controllerPath The directory that contains the controller classes. This property is | ||
* @property-read string $controllerPath The directory that contains the controller classes. This property is | ||
* read-only. | ||
* @property string $layoutPath The root directory of layout files. Defaults to "[[viewPath]]/layouts". | ||
* @property array $modules The modules (indexed by their IDs). | ||
* @property string $uniqueId The unique ID of the module. This property is read-only. | ||
* @property-read string $uniqueId The unique ID of the module. This property is read-only. | ||
* @property string $version The version of this module. Note that the type of this property differs in getter | ||
* and setter. See [[getVersion()]] and [[setVersion()]] for details. | ||
* and setter. See [[getVersion()]] and [[setVersion()]] for details. | ||
* @property string $viewPath The root directory of view files. Defaults to "[[basePath]]/views". | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* For more details and usage information on View, see the [guide article on views](guide:structure-views). | ||
* | ||
* @property string|bool $viewFile The view file currently being rendered. False if no view file is being | ||
* @property-read string|bool $viewFile The view file currently being rendered. False if no view file is being | ||
* rendered. This property is read-only. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -15,10 +15,11 @@ | |
* | ||
* For more details and usage information on Widget, see the [guide article on widgets](guide:structure-widgets). | ||
* | ||
* @property string $id ID of the widget. | ||
* @property string|null $id ID of the widget. Note that the type of this property differs in getter and | ||
* setter. See [[getId()]] and [[setId()]] for details. | ||
* @property \yii\web\View $view The view object that can be used to render views or view files. Note that the | ||
* type of this property differs in getter and setter. See [[getView()]] and [[setView()]] for details. | ||
* @property string $viewPath The directory containing the view files for this widget. This property is | ||
* type of this property differs in getter and setter. See [[getView()]] and [[setView()]] for details. | ||
* @property-read string $viewPath The directory containing the view files for this widget. This property is | ||
* read-only. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -55,10 +55,10 @@ | |
* | ||
* For more details and usage information on Cache, see the [guide article on caching](guide:caching-overview). | ||
* | ||
* @property \Memcache|\Memcached $memcache The memcache (or memcached) object used by this cache component. | ||
* This property is read-only. | ||
* @property-read \Memcache|\Memcached $memcache The memcache (or memcached) object used by this cache | ||
* component. This property is read-only. | ||
* @property MemCacheServer[] $servers List of memcache server configurations. Note that the type of this | ||
* property differs in getter and setter. See [[getServers()]] and [[setServers()]] for details. | ||
* property differs in getter and setter. See [[getServers()]] and [[setServers()]] for details. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|
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 |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
* to be validated by the 'captcha' validator. | ||
* 3. In the controller view, insert a [[Captcha]] widget in the form. | ||
* | ||
* @property string $verifyCode The verification code. This property is read-only. | ||
* @property-read string $verifyCode The verification code. This property is read-only. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|
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 |
---|---|---|
|
@@ -50,9 +50,10 @@ | |
* yii help | ||
* ``` | ||
* | ||
* @property ErrorHandler $errorHandler The error handler application component. This property is read-only. | ||
* @property Request $request The request component. This property is read-only. | ||
* @property Response $response The response component. This property is read-only. | ||
* @property-read ErrorHandler $errorHandler The error handler application component. This property is | ||
* read-only. | ||
* @property-read Request $request The request component. This property is read-only. | ||
* @property-read Response $response The response component. This property is read-only. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|
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
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
* check [[jsCompressor]] and [[cssCompressor]] for more details. | ||
* | ||
* @property \yii\web\AssetManager $assetManager Asset manager instance. Note that the type of this property | ||
* differs in getter and setter. See [[getAssetManager()]] and [[setAssetManager()]] for details. | ||
* differs in getter and setter. See [[getAssetManager()]] and [[setAssetManager()]] for details. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @author Paul Klimov <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
* In the above, if the command name is not provided, all | ||
* available commands will be displayed. | ||
* | ||
* @property array $commands All available command names. This property is read-only. | ||
* @property-read array $commands All available command names. This property is read-only. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|
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 |
---|---|---|
|
@@ -40,8 +40,8 @@ | |
* ], | ||
* ]); | ||
* | ||
* @property string $listPrefix List prefix. This property is write-only. | ||
* @property int $screenWidth Screen width. This property is write-only. | ||
* @property-write string $listPrefix List prefix. This property is write-only. | ||
* @property-write int $screenWidth Screen width. This property is write-only. | ||
* | ||
* @author Daniel Gomez Pan <[email protected]> | ||
* @since 2.0.13 | ||
|
Oops, something went wrong.