喜悦国际村 
» 游客:  注册 | 登录 | 搜索 | 统计 | 帮助

RSS 订阅当前论坛  

喜悦证交所已经关闭

上一主题 下一主题
 17  2/2  <  1  2 
     
标题: 关于PHPDOC  
 
unspace (未知空间)
版主
Rank: 7Rank: 7Rank: 7
百万富翁


UID 67567
精华 0
积分 104940
帖子 5284
金钱 103836 喜悦币
威望 0
人脉 1104
阅读权限 100
注册 2005-12-28
来自 吉林
状态 离线
5555555555
仁兄,帮帮吧,现在还没装呢
不过一直在找资料,下东东呢
zend studio只是一个开发工具,虽然它能完成任务
但不是我希望的过程
我需要自己操作phpdoc来实现

开始没有下载,因为教程上说使用pear install 就能安装,发现只是装了pear,并没有找到phpdoc 或phpdocument
后来下了一个PhpDocumentor-1.3.0RC6.gz,发现这个东西与网上找的教程上写的文件差不多
正在研究中。

有啥能帮的,帮帮我吧,说说这东西的工作流程,不过目前的紧要工作是安装成功,然后能够去生成一个文档




7月1日起,北京市低保、最低工资标准、失业保险、工伤保险、基本养老金5项社会保障标准均将全部上调。其中,最低工资标准增加70元,提高到800元。
2006-7-14 04:55 PM#11
查看资料  访问主页  Blog  发短消息  顶部
 
grow-easy\ (grow-easy\)
金牌会员
Rank: 6Rank: 6
高级会员


UID 18157
精华 2
积分 1261
帖子 1221
金钱 1241 喜悦币
威望 20
人脉 0
阅读权限 70
注册 2003-1-24
状态 离线
[推荐阅读] 帮忙修改其中的BUG(二级联动)
回复 #11 unspace 的帖子

没那么简单的,你还要选定一种模版,然后汉化一下,帮你汗一个
2006-7-14 05:27 PM#12
查看资料  发短消息  顶部
 
unspace (未知空间)
版主
Rank: 7Rank: 7Rank: 7
百万富翁


UID 67567
精华 0
积分 104940
帖子 5284
金钱 103836 喜悦币
威望 0
人脉 1104
阅读权限 100
注册 2005-12-28
来自 吉林
状态 离线
[推荐阅读] 用web页面插入数据时,只能是数字,不能是英文字符,名汉字
谢谢啊,有资料发到我邮箱里一下,十分感谢
jlnuwn@126.com




7月1日起,北京市低保、最低工资标准、失业保险、工伤保险、基本养老金5项社会保障标准均将全部上调。其中,最低工资标准增加70元,提高到800元。
2006-7-14 06:07 PM#13
查看资料  访问主页  Blog  发短消息  顶部
 
grow-easy\ (grow-easy\)
金牌会员
Rank: 6Rank: 6
高级会员


UID 18157
精华 2
积分 1261
帖子 1221
金钱 1241 喜悦币
威望 20
人脉 0
阅读权限 70
注册 2003-1-24
状态 离线
[推荐阅读] 求教!
回复 #13 unspace 的帖子

没资料,我汉化过一个,一升级,覆盖掉了,郁闷死
2006-7-14 08:20 PM#14
查看资料  发短消息  顶部
 
unspace (未知空间)
版主
Rank: 7Rank: 7Rank: 7
百万富翁


UID 67567
精华 0
积分 104940
帖子 5284
金钱 103836 喜悦币
威望 0
人脉 1104
阅读权限 100
注册 2005-12-28
来自 吉林
状态 离线
[推荐阅读] 无法关闭数据库连接
再顶一下,我用的是phpDocumentor v1.3.0RC6 Web Interface
应该如何填加配置项,我是这么操作的,但生成的文档,并没有我不是我想要的结果

Config:don't use config file
Files: d:\www\doc             dir: d:\www\doc
Output target:d:\www\doc          Output format:HTML:Smarty:default
Output type:          HTML:frames:default
基本都是默认
D:\www\doc目录下是 aa.php,代码如下

<?php
/**
* Common base class of all phpDocumentor classes
*
* As a kind of common base class PhpDocumentorObject holds
* configuration values (e.g. error handling) and debugging
* methods (e.g. introspection()). It does not have a constructor,
* so you can always inheritig PhpDocumentor classes from this
* class without any trouble.
*
* @author Ulf Wendel 
* @version $Id: PhpDocumentorObject.php,v 1.3 2001/02/18 15:29:29 uw Exp $
* @package PhpDocumentor
*/

class paint_start {
/**
* print num
* @abstract
*/
var $number;
/**
* print 5 stars
* @abstract
*/
function paint() {
echo 
"*****";
}
}
?>
然而得到的报告是

Parsing Files ...
PHP Version 4.4.1
phpDocumentor version 1.3.0RC6

Parsing configuration file phpDocumentor.ini...
done
using tokenizer Parser


Grabbing README/INSTALL/CHANGELOG

done


Tutorial/Extended Documentation Parsing Stage

done


General Parsing Stage

Reading file d:/www/doc -- Unable to read file, not a file
Reading file d:/www/doc/aa.php -- Parsing file
WARNING in aa.php on line 27: File "d:\www\doc\aa.php" has no page-level DocBlock, use @package in the first DocBlock to create one
done

Converting From Abstract Parsed Data

Processing Class Inheritance


Processing Root Trees


Processing leftover classes (classes that extend root classes not found in the same package)
done processing leftover classes

Processing Procedural Page Element Name Conflicts


Sorting page elements...done
Formatting @uses list...done

creating d:\\www\\doc/media
Creating Directory d:\\www\\doc/media
copying d:\\www\\doc/media/layout.css
copying d:\\www\\doc/media/print.css
copying d:\\www\\doc/media/style.css
Building indexes...done

Sorting Indexes...done

Sorting @todo list...done
Converting tutorials/extended docs
Formatting Package Indexes...    Writing d:\\www\\doc/elementindex_default.html

done
Formatting Index...
    Writing d:\\www\\doc/elementindex.html

    Writing d:\\www\\doc/li_default.html

    Writing d:\\www\\doc/index.html
done

Formatting Left Quick Index...
    Writing d:\\www\\doc/classtrees_default.html

done

Converting d:\www\doc\aa.php Procedural Page Elements... Classes... done
Creating Directory d:\\www\\doc/default
    Writing d:\\www\\doc/default/_doc---aa.php.html

Converting @todo List...done

Converting Error Log...    Writing d:\\www\\doc/errors.html


To view errors and warnings, look at d:\\www\\doc/errors.html
done

Parsing time: 0 seconds

Conversion time: 0 seconds

Total Documentation Time: 0 seconds
done

Operation Completed!!




7月1日起,北京市低保、最低工资标准、失业保险、工伤保险、基本养老金5项社会保障标准均将全部上调。其中,最低工资标准增加70元,提高到800元。
2006-7-17 04:50 PM#15
查看资料  访问主页  Blog  发短消息  顶部
 
unspace (未知空间)
版主
Rank: 7Rank: 7Rank: 7
百万富翁


UID 67567
精华 0
积分 104940
帖子 5284
金钱 103836 喜悦币
威望 0
人脉 1104
阅读权限 100
注册 2005-12-28
来自 吉林
状态 离线
[推荐阅读] mysql访问被拒绝
a

这个是效果图,注释里的东西,都没有加到生成的文档中,郁闷

 附件: 您所在的用户组无法下载或查看附件



7月1日起,北京市低保、最低工资标准、失业保险、工伤保险、基本养老金5项社会保障标准均将全部上调。其中,最低工资标准增加70元,提高到800元。
2006-7-17 04:51 PM#16
查看资料  访问主页  Blog  发短消息  顶部
 
unspace (未知空间)
版主
Rank: 7Rank: 7Rank: 7
百万富翁


UID 67567
精华 0
积分 104940
帖子 5284
金钱 103836 喜悦币
威望 0
人脉 1104
阅读权限 100
注册 2005-12-28
来自 吉林
状态 离线
[推荐阅读] 谁教我一下mysql 4.0.x升级到4.1.x??最好是具体的步骤
宝贴不能沉啊



7月1日起,北京市低保、最低工资标准、失业保险、工伤保险、基本养老金5项社会保障标准均将全部上调。其中,最低工资标准增加70元,提高到800元。
2006-7-17 06:04 PM#17
查看资料  访问主页  Blog  发短消息  顶部
 17  2/2  <  1  2 
     


  可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题 | 开通个人空间  


 




Powered by Discuz! 6.1.0  © 2001-2010 Comsenz Inc.
Processed in 0.026534 second(s), 6 queries

(冀ICP备05009913号) 管理员:sadly 邮箱/MSN: sadly@phpx.com QQ:824008(长隐) 清除 Cookies - - Archiver - WAP