ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

netbeans PHP include path

October 17, 2008 11:12am

Subscribe [15]
  • #16 / Sep 04, 2009 3:06am

    rhasan

    5 posts

    Thanks for the reply. I guess netbeans version may be the problem. Now everything seems fine. I also have written a tutorial for simpliciy here http://rhasan.com/blog/2009/09/codeigniter-auto-complete-with-netbeans/

  • #17 / Sep 04, 2009 5:39am

    beemr

    160 posts

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

  • #18 / Feb 10, 2010 5:15am

    darrenm

    13 posts

    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!

  • #19 / May 24, 2010 3:55am

    stackyPHP

    3 posts

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

  • #20 / Jun 30, 2010 7:38am

    MpaK69

    20 posts

    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

  • #21 / Sep 20, 2010 6:25am

    Daniele87

    1 posts

    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!

  • #22 / Sep 29, 2010 7:59am

    Aviatrix

    8 posts

    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)

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases