[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/system/pear/PEAR/Command/ -> Common.php (sommaire)

PEAR_Command_Common base class PHP versions 4 and 5

Author: Stig Bakken <ssb@php.net>
Author: Greg Beaver <cellog@php.net>
Copyright: 1997-2006 The PHP Group
License: http://www.php.net/license/3_0.txt PHP License 3.0
Version: CVS: $Id: Common.php,v 1.32.2.1 2006/06/08 22:27:11 pajoye Exp $
Poids: 279 lignes (8 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PEAR_Command_Common:: (8 méthodes):
  PEAR_Command_Common()
  getCommands()
  getShortcuts()
  getOptions()
  getGetoptArgs()
  getHelp()
  getHelpArgs()
  run()


Classe: PEAR_Command_Common  - X-Ref

PEAR commands base class

PEAR_Command_Common(&$ui, &$config)   X-Ref
PEAR_Command_Common constructor.


getCommands()   X-Ref
Return a list of all the commands defined by this class.

return: array list of commands

getShortcuts()   X-Ref
Return a list of all the command shortcuts defined by this class.

return: array shortcut => command

getOptions($command)   X-Ref
Pas de description

getGetoptArgs($command, &$short_args, &$long_args)   X-Ref
Pas de description

getHelp($command)   X-Ref
Returns the help message for the given command

param: string $command The command
return: mixed A fail string if the command does not have help or

getHelpArgs($command)   X-Ref
Returns the help for the accepted arguments of a command

param: string $command
return: string The help string

run($command, $options, $params)   X-Ref
Pas de description



Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics