Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/cch/www/pear/PHPDoc/core/PhpdocArgvHandler.php
PEAR Repository - PHPDoc

PhpdocArgvHandler

PhpdocObject
   |
  +-- PhpdocArgvHandler

Handles command line arguments.

 

private class PhpdocArgvHandler extends PhpdocObject

Handles command line arguments.

Be careful the source has not been tested yet, it's probably very buggy.
Any help and comments are welcome...

AuthorsUlf Wendel <ulf@redsys.de>
Version0.1alpha

 
Direct known subclasses: PhpdocSetupHandler

Methods inherited from PhpdocObject

setflagoutput, out, nametourl, outl, introspection

Private Method Summary

void

handleArgv()

Handle the command line values

handleArgv() looks for command line values and
interprets them. If there're unknown command it prints
a message and calls die()
string

getArgvHelpMessage()

Returns the current help message of phpdoc

Fields inherited from PhpdocObject

$err, $flag_output, $application, $warn

Private Field Summary

array

$COMMANDS

Message explaining the usage of phpdoc on the command line.

Private Method Details

handleArgv

private void handleArgv( )

  Handle the command line values

handleArgv() looks for command line values and
interprets them. If there're unknown command it prints
a message and calls die()

Returns void


getArgvHelpMessage

private string getArgvHelpMessage( )

  Returns the current help message of phpdoc

The message is not HTML formated, it could be shown
on the command line.

Returns string $help_msg

Some instructions on available command line options

See Also handleArgv(), C::C

Private Field Details

$COMMANDS

private array $COMMANDS

>>array( "-f filename [, filename]" => "name of files to parse", "-d directory" => "name of a directory to parse", "-p path" => "path of the files", "-t target" => "path where to save the generated files, default is the current path", "-h" => "show this help message" )<<



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta