[ Index ] |
|
Code source de PHP PEAR 1.4.5 |
[Code source] [Imprimer] [Statistiques]
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.35 2006/06/08 22:25:18 pajoye Exp $ |
Poids: | 291 lignes (9 kb) |
Inclus ou requis: | 11 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier PEAR.php |
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 classPEAR_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 : Sun Feb 25 14:08:00 2007 | par Balluche grâce à PHPXref 0.7 |