PEAR_Installer::install()

PEAR_Installer::install() -- Installs package files

Synopsis

require_once 'PEAR/Installer.php';

array PEAR_Installer::install (string $pkgfile [, array $options = array()])

Описание

Installs the files within the package file specified.

Параметр

string $pkgfile

path to the package file

array $options

installating options, to enable an option use the option name as array key and TRUE or 1 as value.

  • $options['force'] = 1 - force installation

  • $options['register-only'] = 1 - update registry but don't install files

  • $options['upgrade'] = 1 - upgrade existing install

  • $options['soft'] = 1 - fail silently

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

array package info if successful

Throws

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

Error codeError valueMeaningSolution
 ""  

Заметка

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


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