PEAR_Command::getGetoptArgs()

PEAR_Command::getGetoptArgs() -- compiles arguments for getopt

概要

require_once 'PEAR/command.php';

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

説明

Compiles arguments for getopt.

パラメータ

string $command

command to get optstring for

string &$short_args

(reference) short getopt format

array &$long_args

(reference) long getopt format

例外・エラー

表 27-1PEAR_Error の値

Error codeError valueMeaningSolution
 ""  

注意

この関数は、スタティックにコール されます。