![]() |
Bearsampp 2026.9.23
|
Public Member Functions | |
| __construct (&$ui, &$config) | |
| doDownloadAll ($command, $options, $params) | |
| & | factory ($a) |
| Public Member Functions inherited from PEAR_Command_Common | |
| getCommands () | |
| getGetoptArgs ($command, &$short_args, &$long_args) | |
| getHelp ($command) | |
| getHelpArgs ($command) | |
| getOptions ($command) | |
| getShortcuts () | |
| run ($command, $options, $params) | |
| Public Member Functions inherited from PEAR | |
| __call ($method, $arguments) | |
| __construct ($error_class=null) | |
| _checkDelExpect ($error_code) | |
| _PEAR () | |
| delExpect ($error_code) | |
| expectError ($code=' *') | |
| PEAR ($error_class=null) | |
| popExpect () | |
Data Fields | |
| $commands | |
| Data Fields inherited from PEAR_Command_Common | |
| $_deps_rel_trans | |
| $_deps_type_trans | |
| $_registry | |
| $config | |
| $ui | |
| Data Fields inherited from PEAR | |
| $_debug = false | |
| $_default_error_handler = '' | |
| $_default_error_mode = null | |
| $_default_error_options = null | |
| $_error_class = 'PEAR_Error' | |
| $_expected_errors = array() | |
Additional Inherited Members | |
| Static Public Member Functions inherited from PEAR | |
| static | __callStatic ($method, $arguments) |
| static | getSourceDateEpoch () |
| static & | getStaticProperty ($class, $var) |
| static | isError ($data, $code=null) |
| static | loadExtension ($ext) |
| static | registerShutdownFunc ($func, $args=array()) |
| static | staticPopErrorHandling () |
| static | staticPushErrorHandling ($mode, $options=null) |
| Static Protected Member Functions inherited from PEAR | |
| static | _popErrorHandling ($object) |
| static | _pushErrorHandling ($object, $mode, $options=null) |
| static | _raiseError ($object, $message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) |
| static | _setErrorHandling ( $object, $mode=null, $options=null) |
| static | _throwError ($object, $message=null, $code=null, $userinfo=null) |
| Static Protected Attributes inherited from PEAR | |
| static | $bivalentMethods |
Definition at line 33 of file Mirror.php.
| __construct | ( | & | $ui, |
| & | $config ) |
PEAR_Command_Mirror constructor.
@access public
| object | PEAR_Frontend a reference to an frontend |
| object | PEAR_Config a reference to the configuration data |
Reimplemented from PEAR_Command_Common.
Definition at line 62 of file Mirror.php.
References PEAR_Command_Common\$config, and PEAR_Command_Common\$ui.
| doDownloadAll | ( | $command, | |
| $options, | |||
| $params ) |
retrieves a list of avaible Packages from master server and downloads them
@access public
| string | $command | the command |
| array | $options | the command options before the command |
| array | $params | the stuff after the command name |
| PEAR_Error |
Error handling not necessary, because already done by the download command
Definition at line 87 of file Mirror.php.
References $command, $options, factory(), PEAR\isError(), PEAR_ERROR_RETURN, PEAR\staticPopErrorHandling(), and PEAR\staticPushErrorHandling().
| & factory | ( | $a | ) |
For unit-testing
Definition at line 70 of file Mirror.php.
References PEAR_Command\factory().
Referenced by doDownloadAll().
| $commands |
Definition at line 35 of file Mirror.php.