Class PEAR_Command_Registry

Description

Located in /maintenance/libraries/pear/PEAR/Command/Registry.php (line 26)

PEAR
   |
   --PEAR_Command_Common
      |
      --PEAR_Command_Registry
Variable Summary
 mixed $commands
Method Summary
 PEAR_Command_Registry PEAR_Command_Registry (mixed &$ui, mixed &$config)
 void doInfo (mixed $command, mixed $options, mixed $params)
 void doList (mixed $command, mixed $options, mixed $params)
 void doShellTest (mixed $command, mixed $options, mixed $params)
 void _sortinfo (mixed $a, mixed $b)
Variables
mixed $commands = array(
'list' => array(
'summary' => 'List Installed Packages',
'function' => 'doList',
'shortcut' => 'l',
'options' => array(),'doc'=>'[package]
If invoked without parameters, this command lists the PEAR packages
installed in your php_dir ({config php_dir)). With a parameter, it
lists the files in that package.
',),'shell-test'=>array('summary'=>'Shell Script Test','function'=>'doShellTest','shortcut'=>'st','options'=>array(),'doc'=>'<package> [[relation] version]
Tests if a package is installed in the system. Will exit(1) if it is not.
<relation> The version comparison operator. One of:
<, lt, <=, le, >, gt, >=, ge, ==, =, eq, !=, <>, ne
<version> The version to compare with
'),'info'=>array('summary'=>'Display information about a package','function'=>'doInfo','shortcut'=>'in','options'=>array(),'doc'=>'<package>
Displays information about a package. The package argument may be a
local package file, an URL to a package file, or the name of an
installed package.'))
(line 30)

Inherited Variables

Inherited from PEAR_Command_Common

PEAR_Command_Common::$config
PEAR_Command_Common::$ui
PEAR_Command_Common::$_deps_rel_trans
PEAR_Command_Common::$_deps_type_trans
Methods
Constructor PEAR_Command_Registry (line 61)

PEAR_Command_Registry constructor.

  • access: public
PEAR_Command_Registry PEAR_Command_Registry (mixed &$ui, mixed &$config)
doInfo (line 200)
void doInfo (mixed $command, mixed $options, mixed $params)
doList (line 75)
void doList (mixed $command, mixed $options, mixed $params)
doShellTest (line 169)
void doShellTest (mixed $command, mixed $options, mixed $params)
_sortinfo (line 70)
void _sortinfo (mixed $a, mixed $b)

Inherited Methods

Inherited From PEAR_Command_Common

 PEAR_Command_Common::PEAR_Command_Common()
 PEAR_Command_Common::getCommands()
 PEAR_Command_Common::getGetoptArgs()
 PEAR_Command_Common::getHelp()
 PEAR_Command_Common::getHelpArgs()
 PEAR_Command_Common::getOptions()
 PEAR_Command_Common::getShortcuts()
 PEAR_Command_Common::run()

Documentation generated on Fri, 10 Dec 2004 18:26:15 +0000 by phpDocumentor 1.3.0RC3