vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

codeigniter integration

Open dskzz opened this issue 3 years ago • 1 comments

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( )

dskzz avatar Apr 22 '22 23:04 dskzz

You can install and use the following vcode extensions: https://marketplace.visualstudio.com/items?itemName=small.php-ci

hmsun-es avatar Jul 01 '22 04:07 hmsun-es

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();
    }

bmewburn avatar Jan 14 '23 05:01 bmewburn