Yii document generated by what

Anyone can tell me Yii class reference generated by what?

Thanks advance.

what are you talking about? what "what"?? linux command???

I just want to know Yii’s class reference was created by which one in phpdoc,doxygen,docblox?

phpdoc

That’s our own parser/generator if your question was about it. It’s located here: https://github.com/yiisoft/yii/blob/master/build/commands/ApiCommand.php

There’s adapted version somewhere in extensions that can work with any project.

Try this, you might need to tweak it slightly to work with your app:

http://www.yiiframework.com/extension/yiidocsgenerator

Thanks for your extension.

But I tried it,I don’t know how to generate the packages tree just like yii’s class referance.

Yes! My question exactly is that .Thanks.

Hi i have some issues Windows


F:\xampp\htdocs\white_rabbit_guild\console\build>build.bat api check

Checking PHPDoc @param in source files ...

Done.




F:\xampp\htdocs\white_rabbit_guild\console\build>build.bat api F:\xampp\htdocs

oc


Building.. : Yii Framework Class Reference

Type...... : offline

Version... : 1.1.12

Source URL : https://github.com/yiisoft/yii/blob/1.1.12/framework


Building model...

PHP Error[2]: require_once(PHPUnit/Util/Filesystem.php): failed to open stream

No such file or directory

    in file F:\xampp\htdocs\white_rabbit_guild\common\lib\Yii\test\CTestCase.p

 at line 11

#0 F:\xampp\htdocs\white_rabbit_guild\common\lib\Yii\test\CTestCase.php(11): r

uire_once()

#1 F:\xampp\htdocs\white_rabbit_guild\common\lib\Yii\YiiBase.php(397): include


#2 unknown(0): autoload()

#3 F:\xampp\htdocs\white_rabbit_guild\common\lib\Yii\test\CDbTestCase.php(42):

pl_autoload_call()

#4 F:\xampp\htdocs\white_rabbit_guild\console\build\commands\api\ApiModel.php(

): require_once()

#5 F:\xampp\htdocs\white_rabbit_guild\console\build\commands\api\ApiModel.php(

): ApiModel->findClasses()

#6 F:\xampp\htdocs\white_rabbit_guild\console\build\commands\ApiCommand.php(24

: ApiModel->build()

#7 F:\xampp\htdocs\white_rabbit_guild\console\build\commands\ApiCommand.php(12

: ApiCommand->buildModel()

#8 F:\xampp\htdocs\white_rabbit_guild\common\lib\Yii\console\CConsoleCommandRu

er.php(68): ApiCommand->run()

#9 F:\xampp\htdocs\white_rabbit_guild\common\lib\Yii\console\CConsoleApplicati

.php(92): CConsoleCommandRunner->run()

#10 F:\xampp\htdocs\white_rabbit_guild\common\lib\Yii\base\CApplication.php(16

: CConsoleApplication->processRequest()

#11 F:\xampp\htdocs\white_rabbit_guild\common\lib\Yii\yiic.php(34): CConsoleAp

ication->run()

#12 F:\xampp\htdocs\white_rabbit_guild\console\build\build(17): require_once()

Where i have to found the PHPUnit/Util/Filesystem.php iam using xampp the only thing what i found was on F:\xampp\php\phpunit.bat

Ok i installed Phpunit but there is no FileSystem.php only the autoloader.php if i uncomment the line

This command only works with phpunit 3.6 ?