cvs: php4(NEW_UI_API) /pear/PEAR/Command Registry.php
| From: | Stig Bakken | Date: | Wed, 29 May 2002 03:37:10 +0000 |
| Subject: | cvs: php4(NEW_UI_API) /pear/PEAR/Command Registry.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4225@lists.php.net to get a copy of this message | ||
ssb Tue May 28 23:37:10 2002 EDT
Modified files: (Branch: NEW_UI_API)
/php4/pear/PEAR/Command Registry.php
Log:
* folding marks
Index: php4/pear/PEAR/Command/Registry.php
diff -u php4/pear/PEAR/Command/Registry.php:1.17.2.1 php4/pear/PEAR/Command/Registry.php:1.17.2.2
--- php4/pear/PEAR/Command/Registry.php:1.17.2.1 Mon May 27 22:14:10 2002
+++ php4/pear/PEAR/Command/Registry.php Tue May 28 23:37:10 2002
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Registry.php,v 1.17.2.1 2002/05/28 02:14:10 ssb Exp $
+// $Id: Registry.php,v 1.17.2.2 2002/05/29 03:37:10 ssb Exp $
require_once 'PEAR/Command/Common.php';
require_once 'PEAR/Registry.php';
@@ -25,6 +25,8 @@
class PEAR_Command_Registry extends PEAR_Command_Common
{
+ // {{{ command definitions
+
var $commands = array(
'list' => array(
'summary' => 'List Installed Packages',
@@ -50,6 +52,9 @@
'),
);
+ // }}}
+ // {{{ constructor
+
/**
* PEAR_Command_Registry constructor.
*
@@ -60,6 +65,9 @@
parent::PEAR_Command_Common($ui, $config);
}
+ // }}}
+ // {{{ doList()
+
function doList($command, $options, $params)
{
$reg = new PEAR_Registry($this->config->get('php_dir'));
@@ -151,6 +159,9 @@
return true;
}
+ // }}}
+ // {{{ doShellTest()
+
function doShellTest($command, $options, $params) {
$this->pushErrorHandling(PEAR_ERROR_RETURN);
$reg = &new PEAR_Registry($this->config->get('php_dir'));
@@ -178,6 +189,7 @@
}
}
+ // }}}
}
?>