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)

Описание

Get the right object for executing a command.

Параметр

string $command

The name of the command

object &$config

Instance of PEAR_Config object

Возвращаемое значение

object the command object

Throws

Таблица 28-1. Возможные значения PEAR_Error

Error codeError valueMeaningSolution
 ""  

Заметка

Эта функция должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ