From a57ead00a69cd5240dd7549fa3a7da8d4e717749 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Mon, 20 Jun 2011 13:30:47 +0000 Subject: further polishing --- framework/Base/TModelBehavior.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'framework/Base/TModelBehavior.php') 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 @@ * @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 - * @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) { -- cgit v1.2.3