Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » phpDOC
phpDOC [message #760130] Thu, 01 December 2011 12:22 Go to next message
Jam  is currently offline Jam Friend
Messages: 2
Registered: December 2011
Junior Member
Hi,

I'm juggling around with phpDoc features and have two questions:

Q1:
Is there a documentation available about which @tags are implemented in Helios?

Q2:
I'm writing some PHP code and use heavily variables as references to classes

class aClass {
 public function aa() { /* do something */};
}

class bClass {

 private $_obj;

 public function __get($name) {
  if (array_key_exists($name, $this->_obj))
   return $this->_obj[$name];
 	
  // check class - last exist to nowhere
  if (!class_exists($name))
   return false;
   
  // allocate handler
  return $this->_obj[$name] = new $name($this);
 }

 public function bb() {
  $x = $this->aClass->aa();
 }
}

I tried @var, @method and @property but I was not able to get my Helios to display the available functions (including parameters) as I type in "this->aClass->". It would be extremely helpful, if I could define a variable and this would be treated as class reference in phpDoc. Does anybody know a way to get that to work?
Re: phpDOC [message #765547 is a reply to message #760130] Wed, 14 December 2011 09:36 Go to previous message
Jam  is currently offline Jam Friend
Messages: 2
Registered: December 2011
Junior Member
Okay, if noone knows a solution it would be helpful to know where to address my issue
Previous Topic:Unable to create a new connection for importing from a remote file system
Next Topic:code completion doesn't work in pdt 3.02
Goto Forum:
  


Current Time: Wed Apr 24 19:38:00 GMT 2024

Powered by FUDForum. Page generated in 0.03647 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top