Closed yuceltoluyag closed 4 years ago
#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
Property 'product_model' not found in Product