PEAR_PackageUpdate::preferencesAllowUpdate (Previous) (Next) PEAR_PackageUpdate::getInstalledRelease

View this page in Last updated: Sun, 05 Oct 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

PEAR_PackageUpdate::releaseType

PEAR_PackageUpdate::releaseType --  インストール済みのバージョンと比較して、もっとも最近のバージョンのリリースの型を返す

説明

インストール済みのバージョンと比較して、もっとも最近のバージョンのリリースの型を返します。 結果は PEAR_PACKAGEUPDATE_TYPE_MAJORPEAR_PACKAGEUPDATE_TYPE_MINOR あるいは PEAR_PACKAGEUPDATE_TYPE_BUG のいずれかとなります。

この値を使用して、利用者がこのリリースの更新を希望しているかどうかを確認します。

注意

since 0.4.0a1

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

返り値

string - リリースの型 (bug|minor|major) を返します。

PEAR_PackageUpdate::preferencesAllowUpdate (Previous) (Next) PEAR_PackageUpdate::getInstalledRelease

Download Documentation Last updated: Sun, 05 Oct 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.