Class PEAR_Command_Remote

Description

Located in /maintenance/libraries/pear/PEAR/Command/Remote.php (line 27)

PEAR
   |
   --PEAR_Command_Common
      |
      --PEAR_Command_Remote
Variable Summary
 mixed $commands
Method Summary
 PEAR_Command_Remote PEAR_Command_Remote (mixed &$ui, mixed &$config)
 void doClearCache (mixed $command, mixed $options, mixed $params)
 void doDownload (mixed $command, mixed $options, mixed $params)
 void doListAll (mixed $command, mixed $options, mixed $params)
 void doListUpgrades (mixed $command, mixed $options, mixed $params)
 void doRemoteInfo (mixed $command, mixed $options, mixed $params)
 void doRemoteList (mixed $command, mixed $options, mixed $params)
 void doSearch (mixed $command, mixed $options, mixed $params)
 void downloadCallback (mixed $msg, [mixed $params = null])
Variables
mixed $commands = array(
'remote-info' => array(
'summary' => 'Information About Remote Packages',
'function' => 'doRemoteInfo',
'shortcut' => 'ri',
'options' => array(),'doc'=>'<package>
Get details on a package from the server.',),'list-upgrades'=>array('summary'=>'List Available Upgrades','function'=>'doListUpgrades','shortcut'=>'lu','options'=>array(),'doc'=>'
List releases on the server of packages you have installed where
a newer version is available with the same release state (stable etc.).'),'remote-list'=>array('summary'=>'List Remote Packages','function'=>'doRemoteList','shortcut'=>'rl','options'=>array(),'doc'=>'
Lists the packages available on the configured server along with the
latest stable release of each package.',),'search'=>array('summary'=>'Search remote package database','function'=>'doSearch','shortcut'=>'sp','options'=>array(),'doc'=>'
Lists all packages which match the search parameters (first param
is package name, second package info)',),'list-all'=>array('summary'=>'List All Packages','function'=>'doListAll','shortcut'=>'la','options'=>array(),'doc'=>'
Lists the packages available on the configured server along with the
latest stable release of each package.',),'download'=>array('summary'=>'Download Package','function'=>'doDownload','shortcut'=>'d','options'=>array('nocompress'=>array('shortopt'=>'Z','doc'=>'download an uncompressed (.tar) file',),),'doc'=>'{package|package-version}
Download a package tarball. The file will be named as suggested by the
server, for example if you download the DB package and the latest stable
version of DB is 1.2, the downloaded file will be DB-1.2.tgz.',),'clear-cache'=>array('summary'=>'Clear XML-RPC Cache','function'=>'doClearCache','shortcut'=>'cc','options'=>array(),'doc'=>'
Clear the XML-RPC cache. See also the cache_ttl configuration
parameter.
',),)
(line 31)

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_Remote (line 96)

PEAR_Command_Remote constructor.

  • access: public
PEAR_Command_Remote PEAR_Command_Remote (mixed &$ui, mixed &$config)
doClearCache (line 383)
void doClearCache (mixed $command, mixed $options, mixed $params)
doDownload (line 286)
void doDownload (mixed $command, mixed $options, mixed $params)
doListAll (line 157)
void doListAll (mixed $command, mixed $options, mixed $params)
doListUpgrades (line 320)
void doListUpgrades (mixed $command, mixed $options, mixed $params)
doRemoteInfo (line 105)
void doRemoteInfo (mixed $command, mixed $options, mixed $params)
doRemoteList (line 128)
void doRemoteList (mixed $command, mixed $options, mixed $params)
doSearch (line 228)
void doSearch (mixed $command, mixed $options, mixed $params)
downloadCallback (line 310)
void downloadCallback (mixed $msg, [mixed $params = null])

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