phpDOC [message #760130] |
Thu, 01 December 2011 07:22  |
Eclipse User |
|
|
|
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?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03960 seconds