yiisoft/yii — pull request #955 by christiansalazar (2012-07-11 20:16:50+00:00)
Title: #954 - adding interface: IModelErrorReport into interfaces.php and set CModel to use it.

in some cases, if you need to validate a model using an external class created for this specific prupose then you need to implement this same methods (addError, hasErrors and so on..) to pass back the detected errors to a CModel parent class.

This interface is intended to separate this methods in a clear interface to be used in other components too, finally, the modification to CModel is ver small: indicating the usage of this interface into it too.

this changes do not affects the core in any way, but will help on extensions related to CModel.