From 79fdf1d8fbffb38eaed780ff69ad1c6ee447be21 Mon Sep 17 00:00:00 2001 From: DaSourcerer Date: Sat, 6 Oct 2012 17:50:12 +0200 Subject: [PATCH] Replaced CModel with actual model name --- .../gii/generators/crud/templates/default/controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {