PEAR_Installer::PEAR_Installer (Previous) (Next) PEAR

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_Installer::install()

PEAR_Installer::install() -- パッケージファイルをインストールする

説明

指定したパッケージファイルの中のファイルをインストールします。

パラメータ

string $pkgfile

パッケージファイルへのパス。

array $options

インストールオプション。オプションを有効にするには オプション名を配列のキーにし、対応する値を TRUE あるいは 1 にします。

  • $options['force'] = 1 - 強制的にインストールします。

  • $options['register-only'] = 1 - レジストリの更新のみ行い、ファイルはインストールしません。

  • $options['upgrade'] = 1 - 既存のインストールを更新します。

  • $options['soft'] = 1 - エラーメッセージを出力しません。

返り値

array 成功した場合にパッケージ情報を返します。

注意

この関数は、スタティックにコールする ことはできません。

PEAR_Installer::PEAR_Installer (Previous) (Next) PEAR

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.