Packageindex Classtrees Modulegroups Elementlist Report XML Files

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.

 

public class Phpdoc extends PhpdocSetupHandler

Coordinates several Phpdoc Object to parse and render source files.

AuthorsUlf Wendel <ulf.wendel@phpdoc.de>
Version$Id: $

 

Methods inherited from PhpdocSetupHandler

setsourcedirectory, settemplatedirectory, setapplication, settargetfilesuffix, setsourcefilesuffix, settarget, checkstatus, getcheckeddirname

Methods inherited from PhpdocArgvHandler

handleargv, getargvhelpmessage

Methods inherited from PhpdocObject

setflagoutput, out, nametourl, outl, introspection

Public Method Summary

void

Phpdoc()

Calls the command line handler if necessary.
bool

parse()

Starts the parser.
bool

render([ string $type, string $target, string $template ])

Renders the PHPDoc XML files as HTML files

Fields inherited from PhpdocSetupHandler

$target, $application, $basedir, $targetfilesuffix, $sourcefilesuffix, $sourcedirectory

Fields inherited from PhpdocArgvHandler

$commands

Fields inherited from PhpdocObject

$err, $application, $warn

Private Field Summary

array

$indexer_result

Result from the indexer
boolean

$flag_output

Print status messages

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

Private Field Details

$indexer_result

private array $indexer_result

>>array()<<

Result from the indexer

See Also render()

$flag_output

private boolean $flag_output

>>true<<

Print status messages

Since 0.3
See Also setFlagOutput()


Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta