[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/pake/ -> pakeGetopt.class.php (sommaire)

(pas de description)

Author: Fabien Potencier <fabien.potencier@symfony-project.com>
Copyright: 2004-2005 Fabien Potencier <fabien.potencier@symfony-project.com>
License: see the LICENSE file included in the distribution
Version: SVN: $Id: pakeGetopt.class.php 1791 2006-08-23 21:17:06Z fabien $
Poids: 274 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

pakeGetopt:: (10 méthodes):
  __construct()
  add_option()
  parse()
  has_option()
  get_option()
  get_options()
  get_arguments()
  parse_short_option()
  parse_long_option()
  read_php_argv()


Classe: pakeGetopt  - X-Ref

Console options parsing class.

__construct($options)   X-Ref
Pas de description

add_option($long_opt, $short_opt, $mode = self::NO_ARGUMENT, $comment = '')   X-Ref
Pas de description

parse($args = null)   X-Ref
Pas de description

has_option($option)   X-Ref
Pas de description

get_option($option)   X-Ref
Pas de description

get_options()   X-Ref
Pas de description

get_arguments()   X-Ref
Pas de description

parse_short_option($arg)   X-Ref
Pas de description

parse_long_option($arg)   X-Ref
Pas de description

read_php_argv()   X-Ref
Function from PEAR::Console_Getopt.
Safely read the $argv PHP array across different PHP configurations.
Will take care on register_globals and register_argc_argv ini directives

return: mixed the $argv PHP array



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7