-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
59 changed files
with
203 additions
and
254 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.44-dev'; | ||
return '2.0.44'; | ||
} | ||
|
||
/** | ||
|
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,8 +30,7 @@ | |
* | ||
* For more details and usage information on Action, see the [guide article on actions](guide:structure-controllers). | ||
* | ||
* @property-read string $uniqueId The unique ID of this action among the whole application. This property is | ||
* read-only. | ||
* @property-read string $uniqueId The unique ID of this action among the whole application. | ||
* | ||
* @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 |
---|---|---|
|
@@ -14,40 +14,32 @@ | |
* | ||
* For more details and usage information on Application, see the [guide article on applications](guide:structure-applications). | ||
* | ||
* @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-read \yii\web\AssetManager $assetManager The asset manager application component. | ||
* @property-read \yii\rbac\ManagerInterface|null $authManager The auth manager application component or null | ||
* if it's not configured. | ||
* @property string $basePath The root directory of the 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. | ||
* not enabled. | ||
* @property-write array $container Values given in terms of name-value pairs. | ||
* @property-read \yii\db\Connection $db The database connection. | ||
* @property-read \yii\web\ErrorHandler|\yii\console\ErrorHandler $errorHandler The error handler application | ||
* component. This property is read-only. | ||
* @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. | ||
* component. | ||
* @property-read \yii\i18n\Formatter $formatter The formatter application component. | ||
* @property-read \yii\i18n\I18N $i18n The internationalization application component. | ||
* @property-read \yii\log\Dispatcher $log The log dispatcher application component. | ||
* @property-read \yii\mail\MailerInterface $mailer The mailer application component. | ||
* @property-read \yii\web\Request|\yii\console\Request $request The request component. | ||
* @property-read \yii\web\Response|\yii\console\Response $response The response component. | ||
* @property string $runtimePath The directory that stores runtime files. Defaults to the "runtime" | ||
* subdirectory under [[basePath]]. | ||
* @property-read \yii\base\Security $security The security application component. This property is read-only. | ||
* @property-read \yii\base\Security $security The security application component. | ||
* @property string $timeZone The time zone used by this application. | ||
* @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-read string $uniqueId The unique ID of the module. | ||
* @property-read \yii\web\UrlManager $urlManager The URL manager for this application. | ||
* @property string $vendorPath The directory that stores vendor files. Defaults to "vendor" directory under | ||
* [[basePath]]. | ||
* @property-read View|\yii\web\View $view The view application component that is used to render various view | ||
* files. This property is read-only. | ||
* files. | ||
* | ||
* @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 |
---|---|---|
|
@@ -93,8 +93,7 @@ | |
* | ||
* For more details and usage information on Component, see the [guide article on components](guide:concept-components). | ||
* | ||
* @property-read 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. | ||
* | ||
* @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 |
---|---|---|
|
@@ -38,19 +38,18 @@ | |
* For more details and usage information on Model, see the [guide article on models](guide:structure-models). | ||
* | ||
* @property-read \yii\validators\Validator[] $activeValidators The validators applicable to the current | ||
* [[scenario]]. This property is read-only. | ||
* [[scenario]]. | ||
* @property array $attributes Attribute values (name => value). | ||
* @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-read array $errors Errors for all attributes or the specified attribute. Empty array is returned | ||
* if no error. See [[getErrors()]] for detailed description. Note that when returning errors for all attributes, | ||
* the result is a two-dimensional array, like the following: ```php [ 'username' => [ 'Username is required.', | ||
* 'Username must contain only word characters.', ], 'email' => [ 'Email address is invalid.', ] ] ``` . | ||
* @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. | ||
* values are the corresponding error messages. An empty array will be returned if there is no error. | ||
* @property-read ArrayIterator $iterator An iterator for traversing the items in the list. | ||
* @property string $scenario The scenario that this model is in. Defaults to [[SCENARIO_DEFAULT]]. | ||
* @property-read ArrayObject|\yii\validators\Validator[] $validators All the validators declared in the | ||
* model. This property is read-only. | ||
* model. | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
|
@@ -561,7 +560,7 @@ public function hasErrors($attribute = null) | |
|
||
/** | ||
* Returns the errors for all attributes or a single attribute. | ||
* @param string|null $attribute attribute name. Use null to retrieve errors for all attributes. | ||
* @param string|null $attribute attribute name. Use null to retrieve errors for all attributes. | ||
* @return array errors for all attributes or the specified attribute. Empty array is returned if no error. | ||
* See [[getErrors()]] for detailed description. | ||
* Note that when returning errors for all attributes, the result is a two-dimensional array, like the following: | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
* For more details and usage information on View, see the [guide article on views](guide:structure-views). | ||
* | ||
* @property-read string|bool $viewFile The view file currently being rendered. False if no view file is being | ||
* rendered. This property is read-only. | ||
* rendered. | ||
* | ||
* @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 |
---|---|---|
|
@@ -19,8 +19,7 @@ | |
* 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-read string $viewPath The directory containing the view files for this widget. This property is | ||
* read-only. | ||
* @property-read string $viewPath The directory containing the view files for this widget. | ||
* | ||
* @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 |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
* to be validated by the 'captcha' validator. | ||
* 3. In the controller view, insert a [[Captcha]] widget in the form. | ||
* | ||
* @property-read string $verifyCode The verification code. This property is read-only. | ||
* @property-read string $verifyCode The verification code. | ||
* | ||
* @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,10 +50,9 @@ | |
* yii help | ||
* ``` | ||
* | ||
* @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. | ||
* @property-read ErrorHandler $errorHandler The error handler application component. | ||
* @property-read Request $request The request component. | ||
* @property-read Response $response The response component. | ||
* | ||
* @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 |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
* In the above, if the command name is not provided, all | ||
* available commands will be displayed. | ||
* | ||
* @property-read array $commands All available command names. This property is read-only. | ||
* @property-read array $commands All available command names. | ||
* | ||
* @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-write string $listPrefix List prefix. This property is write-only. | ||
* @property-write int $screenWidth Screen width. This property is write-only. | ||
* @property-write string $listPrefix List prefix. | ||
* @property-write int $screenWidth Screen width. | ||
* | ||
* @author Daniel Gomez Pan <[email protected]> | ||
* @since 2.0.13 | ||
|
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
Oops, something went wrong.