PEAR_Dependency2::
validateExtensionDependency
(Previous)
(Next) PEAR_Dependency2::validatePackage

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

PEAR_Dependency2::validateOsDependency()

PEAR_Dependency2::validateOsDependency()  --  OS についての依存性を指定する。 OS/プロセッサの詳細な情報についての依存性には arch を使用する

説明

最もよく使用される OS 依存性は unix および windows の 2 つです。 その他のオプションとしては linux、freebsd、darwin (OS X)、sunos、irix、hpux、aix があります。 その他のすべての依存性検証と同様、成功した場合に true、要求された検証に失敗した場合 (そして要求されたのが OS 依存性だった場合) に PEAR_Error を返します。オプション softforce あるいは ignore-errors が指定された場合は、エラーメッセージを含む配列を返します。

パラメータ

array $dep

xml をパースして取得した依存性。

例外・エラー

例外はスローされません。

注意

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

PEAR_Dependency2::
validateExtensionDependency
(Previous)
(Next) PEAR_Dependency2::validatePackage

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