PEAR_Command::factory()

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

Referentiesamenvatting

require_once 'PEAR/command.php';

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

Beschrijving

Get the right object for executing a command.

Parameter

string $command

The name of the command

object &$config

Instance of PEAR_Config object

Return waarde

object the command object

Throws

Tabel 28-1. Mogelijke PEAR_Error waarden

Error codeError valueMeaningSolution
 ""  

Note

Deze functie zou statisch moeten worden aangeroepen.