![]() |
Bearsampp 2026.9.23
|
Public Member Functions | |
| __construct (&$ui, &$config) | |
| 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 | |
| $_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 35 of file Common.php.
| __construct | ( | & | $ui, |
| & | $config ) |
PEAR_Command_Common constructor.
@access public
Reimplemented in PEAR_Command_Auth, PEAR_Command_Build, PEAR_Command_Channels, PEAR_Command_Config, PEAR_Command_Install, PEAR_Command_Mirror, PEAR_Command_Package, PEAR_Command_Pickle, PEAR_Command_Registry, PEAR_Command_Remote, and PEAR_Command_Test.
Definition at line 83 of file Common.php.
| getCommands | ( | ) |
Return a list of all the commands defined by this class.
Definition at line 95 of file Common.php.
References $command.
| getGetoptArgs | ( | $command, | |
| & | $short_args, | ||
| & | $long_args ) |
Definition at line 137 of file Common.php.
References $command.
| getHelp | ( | $command | ) |
Returns the help message for the given command
| string | $command | The command |
Definition at line 176 of file Common.php.
References $command, $config, and getHelpArgs().
Referenced by PEAR_Command_Package\doCvsDiff(), PEAR_Command_Package\doCvsTag(), and PEAR_Command_Package\doSvnTag().
| getHelpArgs | ( | $command | ) |
Returns the help for the accepted arguments of a command
| string | $command |
Definition at line 211 of file Common.php.
References $command.
Referenced by getHelp().
| getOptions | ( | $command | ) |
Definition at line 122 of file Common.php.
References $command, and getShortcuts().
| getShortcuts | ( | ) |
Return a list of all the command shortcuts defined by this class.
Definition at line 110 of file Common.php.
References $command.
Referenced by getOptions().
| run | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 249 of file Common.php.
| $_deps_rel_trans |
Definition at line 56 of file Common.php.
| $_deps_type_trans |
Definition at line 66 of file Common.php.
| $_registry |
Definition at line 48 of file Common.php.
| $config |
Definition at line 43 of file Common.php.
Referenced by PEAR_Command_Auth\__construct(), PEAR_Command_Build\__construct(), PEAR_Command_Channels\__construct(), __construct(), PEAR_Command_Config\__construct(), PEAR_Command_Install\__construct(), PEAR_Command_Mirror\__construct(), PEAR_Command_Package\__construct(), PEAR_Command_Pickle\__construct(), PEAR_Command_Registry\__construct(), PEAR_Command_Remote\__construct(), PEAR_Command_Test\__construct(), PEAR_Command_Config\_showConfig(), PEAR_Command_Config\doConfigCreate(), PEAR_Command_Package\getCommandPackaging(), PEAR_Command_Install\getDownloader(), getHelp(), PEAR_Command_Package\getPackageFile(), and PEAR_Command_Pickle\getPackageFile().
| $ui |
Definition at line 54 of file Common.php.
Referenced by PEAR_Command_Auth\__construct(), PEAR_Command_Build\__construct(), PEAR_Command_Channels\__construct(), __construct(), PEAR_Command_Config\__construct(), PEAR_Command_Install\__construct(), PEAR_Command_Mirror\__construct(), PEAR_Command_Package\__construct(), PEAR_Command_Pickle\__construct(), PEAR_Command_Registry\__construct(), PEAR_Command_Remote\__construct(), PEAR_Command_Test\__construct(), PEAR_Command_Test\doRunTests(), PEAR_Command_Package\getCommandPackaging(), PEAR_Command_Install\getDownloader(), PEAR_Command_Install\getInstaller(), PEAR_Command_Package\getInstaller(), PEAR_Command_Package\getPackageFile(), and PEAR_Command_Pickle\getPackageFile().