PEAR_Command::factory

PEAR_Command::factory() – obtiene el objeto para ejecutar un comando.

Synopsis

require_once 'PEAR/command.php';

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

Description

Obtiene el objeto correcto para ejecutar un comando.

Parameter

string $command

El nombre del comando

object &$config

Instancia del objeto PEAR_Config

Return value

object el objeto comando

Throws

Possible PEAR_Error values
Código error Valor error Significado Solución
  "    

Note

This function should be called statically.

PEAR_Command (Previous) obtiene la lista de comandos actualmente soportados (Next)
Last updated: Thu, 20 Jun 2013 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.