Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Completed phpdoc comments for the controller template

  • Loading branch information...
commit 4e48424352490bf11d67222a4e2e71af0f4d0cf7 1 parent fe85a11
@DaSourcerer DaSourcerer authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 framework/gii/generators/crud/templates/default/controller.php
View
6 framework/gii/generators/crud/templates/default/controller.php
@@ -153,7 +153,9 @@ 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 the ID of the model to be loaded
+ * @param integer $id the ID of the model to be loaded
+ * @return CModel the loaded model
+ * @throws CHttpException
*/
public function loadModel($id)
{
@@ -165,7 +167,7 @@ public function loadModel($id)
/**
* Performs the AJAX validation.
- * @param CModel the model to be validated
+ * @param CModel $model the model to be validated
*/
protected function performAjaxValidation($model)
{
Please sign in to comment.
Something went wrong with that request. Please try again.