Part of the EllisLab Network
   
2 of 2
2
netbeans PHP include path
Posted: 04 September 2009 04:39 AM   [ Ignore ]   [ # 16 ]  
Lab Assistant
RankRank
Total Posts:  172
Joined  01-24-2008

very cool.  can’t wait to try this out.  thx

Profile
 
 
Posted: 10 February 2010 05:15 AM   [ Ignore ]   [ # 17 ]  
Summer Student
Total Posts:  18
Joined  10-15-2008

Just getting stuck into my first CI project since switching to NetBeans a few months ago.

yudi_set and MyBelovedPHP, you have just saved my fingers from an early death - thank you!

Profile
 
 
Posted: 24 May 2010 02:55 AM   [ Ignore ]   [ # 18 ]  
Summer Student
Total Posts:  3
Joined  05-23-2010

i am struggling to get this to aptana ....still unable to configure CI 2 aptana ....anyone have a clue ?

Profile
 
 
Posted: 30 June 2010 06:38 AM   [ Ignore ]   [ # 19 ]  
Grad Student
Avatar
Rank
Total Posts:  36
Joined  12-28-2006

Anyone can help with property like this

* @property User_mod $model(‘user’)

?

is only my method in MY_Controller who will return my model object $this->user_mod if you call it like $this->model(‘user’)? Netbeans cant see it o_O

Profile
 
 
Posted: 20 September 2010 05:25 AM   [ Ignore ]   [ # 20 ]  
Summer Student
Total Posts:  1
Joined  09-20-2010

Hi everybody,
This thread is very helpful, but it’s missing the how-to make netbeans give auto-complete for our own models (the same procedure can be applied for controllers):
-note that I’m using Netbeans 6.9.1

once you’ve created your project, with the www directory set root, you can see in the projects section your project with 2 voices:
source files
include path

-click include path, and add a path to your models folder (tipically /whateveriswwwlocation/system/application/models)
-now you can go back to your controller and add a property to all codeigniter’s already listed above:

1)@property // now you go with a ctrl + space and start digit the name of the model you want, NetBeans will show it to you in the autocomplete!
2)@property YourModel $yourModel //the you give it a variable name - this is just an example name, of course.
3)try in a function of the controller tiping $this->, you will see your model in the autocomplete list, and then all its methods!!!!

Hope this will helpful!

Profile
 
 
Posted: 29 September 2010 06:59 AM   [ Ignore ]   [ # 21 ]  
Summer Student
Total Posts:  10
Joined  01-02-2010
Daniele87 - 20 September 2010 09:25 AM

Hi everybody,
This thread is very helpful, but it’s missing the how-to make netbeans give auto-complete for our own models (the same procedure can be applied for controllers):
-note that I’m using Netbeans 6.9.1

once you’ve created your project, with the www directory set root, you can see in the projects section your project with 2 voices:
source files
include path

-click include path, and add a path to your models folder (tipically /whateveriswwwlocation/system/application/models)
-now you can go back to your controller and add a property to all codeigniter’s already listed above:

1)@property // now you go with a ctrl + space and start digit the name of the model you want, NetBeans will show it to you in the autocomplete!
2)@property YourModel $yourModel //the you give it a variable name - this is just an example name, of course.
3)try in a function of the controller tiping $this->, you will see your model in the autocomplete list, and then all its methods!!!!

Hope this will helpful!

i followed your tutorial but it didnt work , any other ideas ? ( ps i’m also using 6.9.1)

Profile
 
 
   
2 of 2
2