Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5202180
Hits Heute: 283
max. Hits (10.07.07): 6964
User Online: 35
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

XML. Kurz und gut.
XML. Kurz und gut.

Manuals > PEAR > Using the PHPDoc tool

Using the PHPDoc tool

Using the PHPDoc tool --  Calling the PHPDoc commandline program

Options

  • -h -?

    Display help/usage

  • -f

    Force the deletion of the destination directory for HTML/XML output file.

  • -s

    Directory where your source files reside.

  • -d

    Destination directory for the generated doc files.

  • -t

    Directory with the PHPDoc template directories. This is normally the PHPDoc directory in your pear/data directory. See the 'Setup' section.

  • -e

    The template to use from the template directory. Currently two templates are provided, the 'default' template and the 'timmyg' template.

Set up the program

The PHPDoc program phpdoc resides in <pearpath>/phpdoc/. It is automatically setup when you install the package with "pear install PHPDoc".

Unix specific settings

Check the first line to ensure it points to your php binary (installed as CGI, not as webserver module!). This should be set automatically by the installer.
#!/usr/local/bin/php -Cq

Windows specific settings

For running the PHPDoc program on Windows, the PHPDoc directory contains a batch file phpdoc.bat. Edit the following lines to match the path of your PHP executable (not webserver module!).
REM ------------------- set PHP_PATH=c:\php REM -------------------


Copyright 1998 - 2009 by I.S.U.M.