[nycphp-talk] Anyone here ever use phpDocumentor?
Phillip Powell
phillip.powell at adnet-sys.com
Tue Jun 29 12:45:08 EDT 2004
Tim Gales wrote:
>Phillip Powell writes:
>"Anyone here ever use phpDocumentor?"
>
>"Has anyone ever used this documenting tool before,
>if so, I could use a bit more guidance than the
>tutorials seem to give."
>
>You run phpDocumentor cli style from a
>script ( such as a .bat file in windows --
>from a command line prompt)
>
>I will try and spare everyone all the
>gruesome details of my particular
>batch file and just note some lines
>from it (the .bat file) which may be
>of interest to you.
>
> SET phpCli=J:\php\cli\php.exe
>...
>ECHO
>--------------------------------------------------------------------------
>----
>ECHO Select Ini-File [default is phpDocumentor.ini]
>ECHO
>--------------------------------------------------------------------------
>----
>ECHO # 0: phpDocumentor.ini
>SET count=0
>FOR /R user %%I IN (*.ini) DO (
> SET /a count+=1
> CALL :exec ECHO # %%count%%: %%~nI%%~xI
>)
>
>:LOOP_1
>:: SET /P prompts for input and sets the variable
>:: to whatever the user types
>SET iniNr=
>SET /P iniNr=Type a number and press Enter[0]:
>
>:: Use default
>IF '%iniNr%'=='' (
> SET iniNr=0
>)
>
>...
>
>"%phpCli%" phpdoc -c "%iniFile%"
>
>Hope that points you in the right
>direction
>
>
>T. Gales & Associates
>'Helping People Connect with Technology'
>
>http://www.tgaconnect.com
>
>
>_______________________________________________
>talk mailing list
>talk at lists.nyphp.org
>http://lists.nyphp.org/mailman/listinfo/talk
>
>
>
Yep, that and also realizing that I can use command-line PHP to run the
phpdoc.php script and that seems to generate just as well! Thanx!
Phil
--
---------------------------------------------------------------------------------
Phil Powell
Multimedia Programmer
BPX Technologies, Inc.
#: (703) 709-7218 x107
Fax: (703) 709-7219
More information about the talk
mailing list