PEAR_Command::factory()

PEAR_Command::factory() -- get object for executing a command.

Synopsis

require_once 'PEAR/command.php';

object PEAR_Command::factory (string $command, object &$config)

Beschreibung

Get the right object for executing a command.

Parameter

string $command

The name of the command

object &$config

Instance of PEAR_Config object

Rückgabewert

object the command object

Fehler-Meldungen

Tabelle 28-1. Mögliche Fehler-Arten

Error codeError valueMeaningSolution
 „“  

Hinweise

Diese Methode sollte statisch aufgerufen werden..