Netbeans not picking up my model class comments |
[eluser]Dave F[/eluser]
I have a the file "usermodel.php" in system/application/models. I comment it the following way. Code: <?php I load it in my controller but an autocomplete popup doesn't appear in Netbeans when I type the member function. How should I comment this class properly?
[eluser]noname11[/eluser]
piggysmile, you can add a property in your controller like this: /** * @property User_Model $user_model */ try it. good luck!
[eluser]billmce[/eluser]
You don't have to do it on a controller by controller basis This article http://masnun.com/blog/2010/06/16/codeig...e-for-php/ explains how to make it apply to all controllers. |
Welcome Guest, Not a member yet? Register Sign In |