-
Notifications
You must be signed in to change notification settings - Fork 14
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
Feature request #6
Comments
You can use "vdoc". /* @var $model MyNamespace\MyModel */
$model = $this->load->model("MyModel"); |
Thank you, Can you give me an example based on the example code below. This does not /* @var $this->mdl_users application\models\Mdl_users */ On 22 May 2016 at 13:46, junichi11 [email protected] wrote:
|
It doesn't work. You have to assign a variable. Probably, you expect the following: |
No worries, Many thanks for the help anyway and thank you for the NB module. Simon On 22 May 2016 at 14:11, junichi11 [email protected] wrote:
|
👍 btw, in your case /* @var $model mdl_users application\models\Mdl_users */
$model = $this->load->model("Mdl_uses");
$model-> // CC here : perhaps it will be work Thanks. |
No didn't work, it just loads $CI functions, but not the model functions. Never mind, it's not a big problem, it would just be a nice to have. Thanks again for looking at it for me. Have a nice day On 22 May 2016 at 14:20, junichi11 [email protected] wrote:
|
You can, if you add
|
Thank you, I will give it a try. On 22 May 2016 at 14:39, kenjis [email protected] wrote:
|
Is it possible for you to add code completion after loading a model.
Example, after
$this->load->model("mdl_name");
allow code completion to see the methods inside mdl_name?
Thanks
The text was updated successfully, but these errors were encountered: