Class PEAR_Command_Mirror

Description

PEAR commands for providing file mirrors

Located in /maintenance/libraries/pear/PEAR/Command/Mirror.php (line 31)

PEAR
   |
   --PEAR_Command_Common
      |
      --PEAR_Command_Mirror
Variable Summary
 mixed $commands
Method Summary
 PEAR_Command_Mirror PEAR_Command_Mirror (object PEAR_Frontend &$ui, object PEAR_Config &$config)
 bool doDownloadAll (string $command, array $options, array $params)
Variables
mixed $commands = array(
'download-all' => array(
'summary' => 'Downloads each available package from master_server',
'function' => 'doDownloadAll',
'shortcut' => 'da',
'options' => array(),'doc'=>'
Requests a list of available packages from the package server
(master_server) and downloads them to current working directory'),)
(line 35)

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_Mirror (line 56)

PEAR_Command_Mirror constructor.

  • access: public
PEAR_Command_Mirror PEAR_Command_Mirror (object PEAR_Frontend &$ui, object PEAR_Config &$config)
  • object PEAR_Frontend &$ui: a reference to an frontend
  • object PEAR_Config &$config: a reference to the configuration data
doDownloadAll (line 75)

retrieves a list of avaible Packages from master server and downloads them

  • return: true if succesful
  • access: public
bool doDownloadAll (string $command, array $options, array $params)
  • string $command: the command
  • array $options: the command options before the command
  • array $params: the stuff after the command name

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, 11 Feb 2005 18:13:33 +0000 by phpDocumentor 1.3.0RC3