Browse Source

fixed typo

tags/2.0.0-alpha
Qiang Xue 11 years ago
parent
commit
b16bf0691a
  1. 2
      framework/yii/base/Model.php

2
framework/yii/base/Model.php

@ -164,7 +164,7 @@ class Model extends Component implements IteratorAggregate, ArrayAccess
* If an attribute should NOT be massively assigned (thus considered unsafe),
* please prefix the attribute with an exclamation character (e.g. '!rank').
*
* The default implementation of this method will all scenarios found in the [[rules()]]
* The default implementation of this method will return all scenarios found in the [[rules()]]
* declaration. A special scenario named [[DEFAULT_SCENARIO]] will contain all attributes
* found in the [[rules()]]. Each scenario will be associated with the attributes that
* are being validated by the validation rules that apply to the scenario.

Loading…
Cancel
Save