PEAR_Common::validatePackageInfo()
PEAR_Common::validatePackageInfo() -- Validate XML package definition file
概要
require_once 'common.php'; |
boolean PEAR_Common::validatePackageInfo (string $info, array &$errors, array &$warnings [, string $dir_prefix = ''])
説明
Validate XML package definition file.
パラメータ
- string
$info
Filename of the package archive or of the
package definition file
- array
$errors
Array that will contain the errors
- array
$warnings
Array that will contain the warnings
- string
$dir_prefix
directory where source files
may be found, or empty if they are not available
注意
この関数は、スタティックにコールする
ことはできません。