vscode-intelephense
vscode-intelephense copied to clipboard
codeigniter integration
Feature description or problem with existing feature Integration w codeignitor, esp the Codeignitor plugin that allows lookup of class members defined via load( )
Describe the solution you'd like
EXAMPLE:
$this->load->model("some_model);
RIGHT CLICK ON:
$this->some_model->model_function( );
CLICK: Go to Declaration
Opens some_model.php and jumps to sub model_function( )
You can install and use the following vcode extensions: https://marketplace.visualstudio.com/items?itemName=small.php-ci
Providing framework specific solutions is out of scope for this project. You can solve this by adding @property
annotations to your controller.
/** @property Blog $Blog */
class BlogController extends CI_Controller {
function blog()
{
$this->load->model('Blog');
$this->Blog->getEntries();
}