PHP Class PHPUnit_Util_Getopt, qcodo

Author: Andrei Zmievski ([email protected])
Author: Sebastian Bergmann ([email protected])
显示文件 Open project: qcodo/qcodo Class Usage Examples

Public Methods

Method Description
getopt ( array $args, $short_options, $long_options = NULL )

Protected Methods

Method Description
parseLongOption ( $arg, $long_options, &$opts, &$args )
parseShortOption ( $arg, $short_options, &$opts, &$args )

Method Details

getopt() public static method

public static getopt ( array $args, $short_options, $long_options = NULL )
$args array

parseLongOption() protected static method

protected static parseLongOption ( $arg, $long_options, &$opts, &$args )

parseShortOption() protected static method

protected static parseShortOption ( $arg, $short_options, &$opts, &$args )