![]() |
Bearsampp 2026.9.23
|
Public Member Functions | |
| __construct (&$ui, &$config) | |
| _filterUptodatePackages ($packages, $command) | |
| _parseIni ($filename) | |
| disableExtension ($binaries, $type) | |
| doBundle ($command, $options, $params) | |
| doInstall ($command, $options, $params) | |
| doRunScripts ($command, $options, $params) | |
| doUninstall ($command, $options, $params) | |
| doUpgradeAll ($command, $options, $params) | |
| enableExtension ($binaries, $type) | |
| & | getDownloader (&$ui, $options, &$config) |
| & | getInstaller (&$ui) |
| 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 36 of file Install.php.
| __construct | ( | & | $ui, |
| & | $config ) |
PEAR_Command_Install constructor.
@access public
Reimplemented from PEAR_Command_Common.
Definition at line 320 of file Install.php.
References PEAR_Command_Common\$config, and PEAR_Command_Common\$ui.
| _filterUptodatePackages | ( | $packages, | |
| $command ) |
Given a list of packages, filter out those ones that are already up to date
| $packages | packages, in parsed array format ! |
Definition at line 1185 of file Install.php.
References $command, PEAR\isError(), PEAR_ERROR_RETURN, PEAR\staticPopErrorHandling(), and PEAR\staticPushErrorHandling().
Referenced by doInstall().
| _parseIni | ( | $filename | ) |
Definition at line 457 of file Install.php.
Referenced by disableExtension(), and enableExtension().
| disableExtension | ( | $binaries, | |
| $type ) |
Definition at line 404 of file Install.php.
References _parseIni(), and PEAR\isError().
Referenced by doUninstall().
| doBundle | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 1098 of file Install.php.
References $command, $options, $opts, $result, getDownloader(), PEAR\isError(), PEAR_ERROR_RETURN, PEAR\staticPopErrorHandling(), and PEAR\staticPushErrorHandling().
| doInstall | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 528 of file Install.php.
References $command, $options, _filterUptodatePackages(), doUpgradeAll(), enableExtension(), getDownloader(), getInstaller(), PEAR\isError(), PEAR_ERROR_RETURN, PEAR_INSTALLER_NOBINARY, PEAR_VALIDATE_DOWNLOADING, PEAR\staticPopErrorHandling(), and PEAR\staticPushErrorHandling().
Referenced by doUpgradeAll().
| doRunScripts | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 1154 of file Install.php.
References $command, $options, PEAR\isError(), PEAR_ERROR_RETURN, PEAR\staticPopErrorHandling(), and PEAR\staticPushErrorHandling().
| doUninstall | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 916 of file Install.php.
References $command, $options, disableExtension(), getInstaller(), PEAR\isError(), PEAR_ERROR_RETURN, PEAR\staticPopErrorHandling(), and PEAR\staticPushErrorHandling().
| doUpgradeAll | ( | $command, | |
| $options, | |||
| $params ) |
Definition at line 882 of file Install.php.
References $command, $options, doInstall(), and PEAR\isError().
Referenced by doInstall().
| enableExtension | ( | $binaries, | |
| $type ) |
Definition at line 351 of file Install.php.
References _parseIni(), PEAR\isError(), and OS_UNIX.
Referenced by doInstall().
| & getDownloader | ( | & | $ui, |
| $options, | |||
| & | $config ) |
For unit testing purposes
Definition at line 330 of file Install.php.
References PEAR_Command_Common\$config, $options, and PEAR_Command_Common\$ui.
Referenced by doBundle(), and doInstall().
| & getInstaller | ( | & | $ui | ) |
For unit testing purposes
Definition at line 342 of file Install.php.
References PEAR_Command_Common\$ui.
Referenced by doInstall(), and doUninstall().
| $commands |
Definition at line 40 of file Install.php.