|
|
|
File: c:/www/apache/doc2//core/Phpdoc.php
PHPDOC 2000/12/03 - PHPDoc
Phpdoc
PhpdocObject | +-- PhpdocArgvHandler | +-- PhpdocSetupHandler | +-- Phpdoc
Coordinates several Phpdoc Object to parse and render source files.
|
Coordinates several Phpdoc Object to parse and render source files.
|
| |
|
|
|
|
|
|
|
|
|
|
|
Fields inherited from PhpdocArgvHandler |
| $commands |
|
|
|
|
|
Public Method Details |
Phpdoc |
|
public void Phpdoc( )
|
| |
Calls the command line handler if necessary.
|
| Returns |
void |
| Required global variables |
|
| array $argc |
, string $PHP_SELF |
|
|
parse |
|
public bool parse( )
|
| |
Starts the parser.
|
| Returns |
bool $ok |
| Throws |
PhpdocError |
|
render |
|
public bool render( [ string $type, string $target, string $template ] )
|
| |
Renders the PHPDoc XML files as HTML files
|
| Parameter |
|
| string |
$type |
= >>"html"<< |
|
, currently only "html" is available. |
|
|
| string |
$target |
= >>""<< |
|
directory for the html files |
|
|
| string |
$template |
= >>""<< |
|
with the html templates |
|
| Returns |
bool $ok |
| Throws |
PhpdocError |
|
|
|
|
|
|
|
| PHPDoc 1.0beta |