|
楼主 |
发表于 2011-10-13 10:58:35
|
显示全部楼层
本帖最后由 happylee 于 2011-10-13 11:12 编辑
sorry, 注释代码里少了个”*“,修改了一下,你再试试看?
没有仔细研究过是zendstudio 8 for eclipse中的具体什么功能,导致了这个代码提示的成功。
目前我这里是ok的。
环境 : zendstudio for eclipse ver 8.0.1
附上找到的phpdoc 中 @property这个注释的说明:
@property shows a "magic" property variable that is found inside the class.
datatype should be a valid PHP type or "mixed." phpDocumentor will display the optional description unmodified, and defaults to "mixed" if the datatype is not present. The property is presumed to be available for both read and write operations. If the property is read-only, you should use the @property-read tag instead. If the property is write-only, use @property-write.
补充说明: 试一下按 ALT+/ 看看是否能够显示出提示? 比如:输入 $this-> 然后再按 ALT+/
|
|