natanfelles / codeigniter-phpstorm

PhpStorm Code Completion for CodeIgniter 3

Home Page:https://natanfelles.github.io/blog/codeigniter-code-completion-phpstorm.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does not see the models files

yuceltoluyag opened this issue · comments

Property 'product_model' not found in Product

phpstorm

#1 (comment)
yes i saw that message but the problem persists.

Is there a place where I made a mistake, can you check it
phpstorm.php

/**
 * Models
 * @property   Product_model $product_model
 * @property   Sales_model $sales_model
 */

$this->load->model("product_model","product_model");

$items = $this->product_model->getjson("product");

Please, certify that the properties are in the top of the class:

/**
 * Models
 * @property   Product_model $product_model
 * @property   Sales_model $sales_model
 */
class Product extend CI_Controller {
}

solved ty