PEAR_PackageFile::fromPackageFile()
PEAR_PackageFile::fromPackageFile()
--
package.xml ファイルの名前を入力として受け取り、
パッケージファイルからの情報を返す
概要
require_once '/PackageFile.php'; |
array&
PEAR_PackageFile::fromPackageFile
(string
$descfile, int
$state, string|false
[$archive = FALSE])
説明
package.xml ファイルをパースし、package.xml オブジェクト、あるいはエラー時に
PEAR_Error
オブジェクトを返します。
パラメータ
- string
$descfile
package.xml ファイルの名前。
- string|FALSE
$archive
package.xml を含む .tgz ファイルへのフルパス、あるいは存在しない場合に false。