NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Codeigniter code completion


Joined: 15 Feb 2015
Posts: 1
Reply with quote
Code completion for CI 2.x in PhpED 15 stop working.

My example:

require APPPATH.'/libraries/REST_Controller.php';
class Rest extends REST_Controller {

public function __construct()
{
parent::__construct();
}

function test_get() {
$this->load->model('Rest_api_model');
$this->Rest_api_model->writeAccess();
$this->response($this->Rest_api_model->test(), 200); // 200 being the HTTP response code
}
}

When I right click on writeAccess in PhpED 12 and use "Find Declaration", editor open file Rest_api_model.php and show function writeAccess. In PhpED 15 I get error:

---------------------------
Error
---------------------------
Failed to find "$Rest_api_model" local variable
Failed to identify type of \Rest->Rest_api_model property

Does anyone have the same problem?
View user's profileFind all posts by andrejflorjancicSend private message
Codeigniter code completion
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic