Doxygen+PHP 链接到其他类成员
我正在使用 Doxygen 而不是 phpDocs 来记录一个 PHP 项目,因为该项目涉及 COCOA 编程,所以我决定使用一个通用的文档工具。
我使用语法 ClassName::method name()
链接到其他类方法没有问题
,但是当尝试使用语法访问另一个类中的类成员(无论是公共的还是私有的)时,我没有得到链接类名::varName
。
在一个文件中。
class A {
/**
* A Member
*/
private $a;
/**
* A method
*/
public myMethod(){}
}
在其他文件中。
/**
* Doxygen block
*
* This link is not working!!
* A::a
* This one the same!
* A::$a
*
* This link is working:
* A::myMethod().
*/
更新: 现在可以使用了,语法 ClassName::varName
现在可以使用了。之前不知道出了什么问题,所以对这个无用的问题感到抱歉。一旦系统允许我回答我自己的问题,我就会将其标记为已回答。
I'm documenting a PHP project with Doxygen instead of phpDocs because the project involves COCOA programming so I decide to use a common documentation tool.
I have no problem linking to other class methods using the syntax ClassName::method name()
but I get no link when trying to reach a class member in another class, be it public or private with the syntax ClassName::varName
.
In one file.
class A {
/**
* A Member
*/
private $a;
/**
* A method
*/
public myMethod(){}
}
In other file.
/**
* Doxygen block
*
* This link is not working!!
* A::a
* This one the same!
* A::$a
*
* This link is working:
* A::myMethod().
*/
UPDATED:
It's working now, the syntax ClassName::varName
is now working. Can't tell what was wrong before so sorry for this useless question. I will mark it as answered as soon as the system allows me to answer my own question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论