require_once 'PEAR/command.php';
array PEAR_Command::getCommands (void)
array PEAR_Command::getCommands
Get the list of currently supported commands, and what classes implement them.
array command => implementing class
Эта функция должна вызываться статически.