PHPDoc autocomplete hints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx
Excelência em Softwares Financeiros

 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux