PEAR_Command::getGetoptArgs()

PEAR_Command::getGetoptArgs() -- compile des arguments pour getopt

Synopsis

require_once 'PEAR/command.php';

void PEAR_Command::getGetoptArgs (string $command, string &$short_args, array &$long_args)

Description

Compile des arguments pour getopt.

Paramètres

chaîne de caractères $command

commande pour laquelle on veut l'optstring

chaîne de caractères &$short_args

(référence) format court getopt

array &$long_args

(référence) format long getopt

Valeurs renvoyées

Tableau 28-1. Valeurs PEAR_Error possibles

Code erreurValeur erreurSignificationSolution
 <<  >>  

Note

Cette fonction devrait être appelée de façon statique.