NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Intellisense for CodeIgniter
Veteran

Joined: 22 May 2008
Posts: 141
Reply with quote
Is there any way to set it up?

For example, if I was to have $this->load->model('Users'); in my controller, could I somehow get PhpED to offer code completion when I type in $this->Users-> at a later point?
View user's profileFind all posts by simshaunSend private message
Veteran

Joined: 06 Mar 2007
Posts: 158
Location: Poland
Reply with quote
Hi...

Only with the follow way:

Code:
class Users
{
   public $id;
   public $name;
}

class SomeClass
{
   /**
   * Some commment
   *
   * @var Users
   */
   private $Users;
   
   public function __construct()
   {
      $this->load->model('Users');
      $this->Users->
   }

   // ...

}

_________________
ML
View user's profileFind all posts by introSend private messageVisit poster's website
Intellisense for CodeIgniter
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