Permalink
Browse files

Replaced CModel with actual model name

  • Loading branch information...
DaSourcerer committed Oct 6, 2012
1 parent 4e48424 commit 79fdf1d8fbffb38eaed780ff69ad1c6ee447be21
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/gii/generators/crud/templates/default/controller.php
@@ -154,7 +154,7 @@ public function actionAdmin()
* 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 <?php echo $this->modelClass; ?> the loaded model
* @throws CHttpException
*/
public function loadModel($id)
@@ -167,7 +167,7 @@ public function loadModel($id)
/**
* Performs the AJAX validation.
- * @param CModel $model the model to be validated
+ * @param <?php echo $this->modelClass; ?> $model the model to be validated
*/
protected function performAjaxValidation($model)
{

0 comments on commit 79fdf1d

Please sign in to comment.