打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
给你的PHP函数和类添加标准的注释说明

让你编写的PHP函数(function)和类(class)拥有符合规范的注释,符合PHPDOC的标准,特搜集整理如下:
[coolcode lang="PHP"]
/**
* Comment for PHP.
* @access public
* @param String $title Title Name of the Field
* @param Int $id Id of the field
* @param Array $attributes Additional attributes you want to add in format;
* @param Object $obj Obj of the field
* @param Resource $handle Handle of the field
* @param DOMDocument $dom Dom of the field
* @param String|Array $put Put of the field
* @param Mixed $type Type of the field
* @return void|bool Result
* @desc Example of the PHP function&class comment.
*/

[/coolcode]

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
如何在Eclipse中如何自动添加注释和自定义注释风格
PHP生成短链接、还原短链接的类分享
PHP的文件操作与算法实现的面试题示例
shopnc二次开发
六种主流编程语言(C、C++、Python、JavaScript、PHP、Java)特性对比
PHP多进程编程 - 井长 - Jason Yu
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服