diff --git a/framework/gii/generators/crud/templates/default/controller.php b/framework/gii/generators/crud/templates/default/controller.php index 525c77ca4..47c193f94 100644 --- a/framework/gii/generators/crud/templates/default/controller.php +++ b/framework/gii/generators/crud/templates/default/controller.php @@ -154,7 +154,7 @@ class controllerClass; ?> extends baseContro * Returns the data model based on the primary key given in the GET variable. * If the data model is not found, an HTTP exception will be raised. * @param integer $id the ID of the model to be loaded - * @return CModel the loaded model + * @return modelClass; ?> the loaded model * @throws CHttpException */ public function loadModel($id) @@ -167,7 +167,7 @@ class controllerClass; ?> extends baseContro /** * Performs the AJAX validation. - * @param CModel $model the model to be validated + * @param modelClass; ?> $model the model to be validated */ protected function performAjaxValidation($model) {