Phpdoc @property in yiic model

This will make code completion for ActiveRecords in some IDEs such as Eclipse.

in cli/commands/shell/ModelCommand.php - generateModel()



...


		$rules='';


+		$properties= "/** n"; 


		if(($db=Yii::app()->getDb())!==null)


...


				foreach($table->columns as $column)


				{


+					$properties .= " * @property $column->type $$column->namen";


					if($column->isPrimaryKey && $table->sequenceName!==null)


...


			echo "Warning


+		$properties .= " */ n";


		$tr=array(


+			'{Properties}'=>$properties,


			'{ClassName}'=>$className,


in cli/views/shell/model/model.php:



<?php


+{Properties}


class {ClassName} extends CActiveRecord


...


Could you please submit a feature request at http://code.google.c…yii/issues/list ?

We will consider this for 1.1 release.

Done.

But I couldn't find how to set type of issue other than Defect.