previousPEAR_PackageUpdate::setPreferences (Previous) (Next) PEAR_PackageUpdate::popErrornext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR_PackageUpdate::update

PEAR_PackageUpdate::update – パッケージのソースを更新する

Synopsis

require_once 'PEAR/PackageUpdate.php';

boolean PEAR_PackageUpdate::update ( )

Description

現在インストールされているパッケージを、新しいソースで更新します。

Throws

そのパッケージがインストールされていない場合に PEAR_PACKAGEUPDATE_ERROR_NOTINSTALLED をスローします。

Note

since 0.4.0a1

This function can not be called statically.

Return value

boolean - 更新に成功した場合に TRUE、それ以外の場合に FALSE を返します。

previousPEAR_PackageUpdate::setPreferences (Previous) (Next) PEAR_PackageUpdate::popErrornext

Download Documentation Last updated: Sun, 21 Jun 2009
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.