This commit is contained in:
mdomba (mdlap)
2011-11-13 15:36:56 +01:00
parent 013fa0bb88
commit 0d817e6715

View File

@ -53,7 +53,7 @@ class Model extends Component implements Initable, \IteratorAggregate, \ArrayAcc
* Initializes this model. * Initializes this model.
* *
* This method is required by the [[Initable]] interface. It is invoked by [[\Yii::create]] * This method is required by the [[Initable]] interface. It is invoked by [[\Yii::create]]
* after its creates the new model instance and initializes the model properties. * after it creates the new model instance and initializes the model properties.
* *
* The default implementation calls [[behaviors]] and registers any available behaviors. * The default implementation calls [[behaviors]] and registers any available behaviors.
* You may override this method with additional initialization logic (e.g. establish DB connection). * You may override this method with additional initialization logic (e.g. establish DB connection).