Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto complete model functions #8

Open
genivaldosc opened this issue Jan 17, 2017 · 3 comments
Open

Auto complete model functions #8

genivaldosc opened this issue Jan 17, 2017 · 3 comments

Comments

@genivaldosc
Copy link

After load a model, the functions and the atributes don’t auto complete.

$this->load->model(“user_dao”);
...
$this->user_dao->???

@genivaldosc
Copy link
Author

Hi,

I include this:

on CI_Autocompletes.php on path nbproject and it worked!

@kenjis
Copy link

kenjis commented Jan 18, 2017

I recommned you write @property User_dao $user_dao in your source file.

/**
 * @property User_dao $user_dao
 */
class Foo extends CI_Controller

@genivaldosc
Copy link
Author

Thanks for the tip! It is more practical and is similar to include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants