NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DOC syntax for code completion - HOW?


Joined: 30 May 2006
Posts: 95
Reply with quote
Hello,

does anybody know how can I tell PHPEd code parser that particular variable is certain object?

For example this does not work:
Code:

class{

   /**
  * @var EpdfInputField
  */
   protected $field = array();

   function getTitle($id){
      /**
      * @var $this->field EpdfInputField
      */
      return $this->field[$id]->[pressing CTRL+SPACE] will show nothing, it should list out EpdfInputField public members.
   }

}


Since I am referring quite often to $this->field[$id], I would really need PHPEd parser to identify, that variable $this->field is array always referring to object of type EpdfInputField.
Please anybody..?

Thanx a lot.
Lubos
Code:
View user's profileFind all posts by lubosdzSend private message
DOC syntax for code completion - HOW?
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