Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 20832 программиста и 1762 робота. Сейчас ищет 1861 программист ...
PEAR_Command::factory
Вернуться к: PEAR_Command
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.
Parameter
- string $command
-
The name of the command
- object &$config
-
Instance of PEAR_Config object
Return value
object the command object
Throws
Error code | Error value | Meaning | Solution |
---|---|---|---|
" |
Note
This function should be called statically.
Вернуться к: PEAR_Command