Loading models for autocompletion using PHPDoc @property

seneourne

New Member
I am using Codeigniter framework for PHP. I was wondering if there is a way to load methods in a Model for autocompletion using PHPDoc @property.What I mean is ....\[code\]class abc_controller extends Controller { /** * @property Model1 */ function func() { $this->load->model("Model1"); // I am loading the model here $result = $this->Model1->getIds(); // When I type Model1 in the statement above, it should popup // an autocompletion box populated with all the methods of Model1 }}\[/code\]I did something like this using NetBeans while working on Cakephp. I was wondering if such a thing is possible for CodeIgniter as well/Regards
 
Back
Top