PEAR Manual
Prev |  | Next

# PEAR_Command::getCommands()

PEAR_Command::getCommands() -- get list of currently supported commands

## Synopsis

    require_once 'PEAR/command.php';

``array PEAR_Command::getCommands` (void)`

## Description

Get the list of currently supported commands, and what classes implement them.

## Return value

`array` command => implementing class

## Note

This function should be called statically.

Prev | Home | Next
PEAR_Command::factory() | Up | PEAR_Command::getDescription()