![]() |
Bearsampp 2026.9.23
|
Public Member Functions | |
| __construct (&$ui, &$config) | |
| _sortChannels ($a, $b) | |
| doAdd ($command, $options, $params) | |
| doAlias ($command, $options, $params) | |
| doDelete ($command, $options, $params) | |
| doDiscover ($command, $options, $params) | |
| doInfo ($command, $options, $params) | |
| doList ($command, $options, $params) | |
| doLogin ($command, $options, $params) | |
| doLogout ($command, $options, $params) | |
| doUpdate ($command, $options, $params) | |
| doUpdateAll ($command, $options, $params) | |
| & | getDownloader () |
| 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 38 of file Channels.php.
| __construct | ( | & | $ui, |
| & | $config ) |
PEAR_Command_Registry constructor.
@access public
Reimplemented from PEAR_Command_Common.
Reimplemented in PEAR_Command_Auth.
Definition at line 169 of file Channels.php.
References PEAR_Command_Common\$config, and PEAR_Command_Common\$ui.
| _sortChannels | ( | $a, | |
| $b ) |
Definition at line 174 of file Channels.php.
| doAdd | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 408 of file Channels.php.
References $command, $options, $result, getDownloader(), PEAR\isError(), PEAR_COMMAND_CHANNELS_CHANNEL_EXISTS, PEAR_ERROR_RETURN, PEAR\staticPopErrorHandling(), and PEAR\staticPushErrorHandling().
Referenced by doDiscover().
| doAlias | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 671 of file Channels.php.
References $command, $options, and PEAR\isError().
| doDelete | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 363 of file Channels.php.
References $command, $options, and PEAR\isError().
| doDiscover | ( | $command, | |
| $options, | |||
| $params ) |
The channel-discover command
| string | $command | command name |
| array | $options | option_name => value |
| array | $params | list of additional parameters. $params[0] should contain a string with either:
|
Definition at line 726 of file Channels.php.
References $command, $options, doAdd(), PEAR\isError(), PEAR_COMMAND_CHANNELS_CHANNEL_EXISTS, and PEAR_ERROR_RETURN.
| doInfo | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 226 of file Channels.php.
References $command, $options, PEAR_ChannelFile\fromXmlString(), getDownloader(), PEAR\isError(), PEAR_ERROR_RETURN, PEAR\staticPopErrorHandling(), and PEAR\staticPushErrorHandling().
| doList | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 179 of file Channels.php.
| doLogin | ( | $command, | |
| $options, | |||
| $params ) |
Execute the 'login' command.
| string | $command | command name |
| array | $options | option_name => value |
| array | $params | list of additional parameters |
@access public
Definition at line 798 of file Channels.php.
References $command, $options, and PEAR\isError().
| doLogout | ( | $command, | |
| $options, | |||
| $params ) |
Execute the 'logout' command.
| string | $command | command name |
| array | $options | option_name => value |
| array | $params | list of additional parameters |
@access public
Definition at line 864 of file Channels.php.
References $command, $options, and PEAR\isError().
| doUpdate | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 506 of file Channels.php.
References $command, $options, PEAR_ChannelFile\fromXmlString(), getDownloader(), PEAR\isError(), PEAR_ERROR_RETURN, PEAR\staticPopErrorHandling(), and PEAR\staticPushErrorHandling().
Referenced by doUpdateAll().
| doUpdateAll | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 203 of file Channels.php.
References $command, $options, doUpdate(), PEAR\isError(), PEAR_ERROR_RETURN, and PEAR\staticPushErrorHandling().
| & getDownloader | ( | ) |
Definition at line 662 of file Channels.php.
Referenced by doAdd(), doInfo(), and doUpdate().
| $commands |
Definition at line 40 of file Channels.php.