1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 04:51:03 +02:00

* per-command fold marks

This commit is contained in:
Stig Bakken
2002-03-28 23:50:45 +00:00
parent 62bff20267
commit 84652eeb52

View File

@@ -52,6 +52,8 @@ class PEAR_Command_Package extends PEAR_Command_Common
{
$failmsg = '';
switch ($command) {
// {{{ package
case 'package': {
$pkginfofile = isset($params[0]) ? $params[0] : null;
ob_start();
@@ -73,6 +75,10 @@ class PEAR_Command_Package extends PEAR_Command_Common
}
break;
}
// }}}
// {{{ package-list
case 'package-list': {
include_once "PEAR/Common.php";
$obj = new PEAR_Common();
@@ -114,6 +120,10 @@ class PEAR_Command_Package extends PEAR_Command_Common
$this->ui->endTable();
break;
}
// }}}
// {{{ package-info
case 'package-info': {
include_once "PEAR/Common.php";
$obj = new PEAR_Common();
@@ -192,6 +202,8 @@ class PEAR_Command_Package extends PEAR_Command_Common
$this->ui->endTable();
break;
}
// }}}
default: {
return false;
}