PHPDoc autocomplete hints
| From: | Thiago Pojda | Date: | Tue, 26 Feb 2008 13:21:32 +0000 |
| Subject: | PHPDoc autocomplete hints | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-270144@lists.php.net to get a copy of this message | ||
Guys,
I'm new to this thing and I'm not sure if it's my IDE (ZendStudioNeon)
problem, or if I'm doing something wrong. I always use PHPDoc block comments
on my functions, but this time I'm using factories in my code and missing
autocomplete on those objects. I've tried using those hints as below, but
with no luck. What am I missing?
/* This code is not real */
$DAOFactory = new DAOFactory();
$usrObj = $DAOFactory->getUserDAO(); //autocomplete ok
$usrObj->resetPW($usr, $newPw); // no autocomplete here
I've tryed using:
$DAOFactory = new DAOFactory();
$usrObj = $DAOFactory->getUserDAO(); //autocomplete ok
/* @var $usrObj UserDAO */
$usrObj->resetPW($usr, $newPw); // but still no autocomplete here
Tried also
/* @var UserDAO */
$usrObj->resetPW($usr, $newPw); // no luck either
Thanks for your help.
PS: I've sent a similar message to ZendStudioNeon mailing list.
Atenciosamente,
<http://www.softpartech.com.br/>
www.softpartech.com.br
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
thiago.pojda@softpartech.com.br
Excelência em Softwares Financeiros