diff options
Diffstat (limited to 'framework/Base/TModelBehavior.php')
-rw-r--r-- | framework/Base/TModelBehavior.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/framework/Base/TModelBehavior.php b/framework/Base/TModelBehavior.php index a5182e8f..901c9948 100644 --- a/framework/Base/TModelBehavior.php +++ b/framework/Base/TModelBehavior.php @@ -1,6 +1,6 @@ <?php /** - * CModelBehavior class file. + * TModelBehavior class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ @@ -9,10 +9,10 @@ */ /** - * CModelBehavior is a base class for behaviors that are attached to a model component. + * TModelBehavior is a base class for behaviors that are attached to a model component. * The model should extend from {@link CModel} or its child classes. * @author Qiang Xue <qiang.xue@gmail.com> - * @version $Id: CModelBehavior.php 1082 2009-06-01 12:03:00Z qiang.xue $ + * @version $Id: TModelBehavior.php 1082 2009-06-01 12:03:00Z qiang.xue $ * @package system.base * @since 1.0.2 */ @@ -26,7 +26,7 @@ class TModelBehavior extends TBehavior * The default implementation returns 'onBeforeValidate' and 'onAfterValidate' events and handlers. * If you override this method, make sure you merge the parent result to the return value. * @return array events (array keys) and the corresponding event handler methods (array values). - * @see CBehavior::events + * @see TBehavior::events */ public function events() { @@ -37,19 +37,19 @@ class TModelBehavior extends TBehavior } /** - * Responds to {@link CModel::onBeforeValidate} event. + * Responds to {@link TModel::onBeforeValidate} event. * Overrides this method if you want to handle the corresponding event of the {@link owner}. - * You may set {@link CModelEvent::isValid} to be false if you want to stop the current validation process. - * @param CModelEvent event parameter + * You may set {@link TModelEvent::isValid} to be false if you want to stop the current validation process. + * @param TModelEvent event parameter */ public function beforeValidate($event) { } /** - * Responds to {@link CModel::onAfterValidate} event. + * Responds to {@link TModel::onAfterValidate} event. * Overrides this method if you want to handle the corresponding event of the {@link owner}. - * @param CEvent event parameter + * @param TEvent event parameter */ public function afterValidate($event) { |