PEAR_Registry::checkFileMap()
PEAR_Registry::checkFileMap() -- Test whether a file belongs to a package
概要
require_once 'PEAR/Registry.php'; |
string PEAR_Registry::checkFileMap (string $path)
説明
Test whether a file belongs to a package.
パラメータ
- string
$path
file path, absolute or relative to the pear install dir
返り値
string -
name of the package the file belongs to, or an empty
string if the file does not belong to an installed package
例外・エラー
表 27-1PEAR_Error の値
| Error code | Error value | Meaning | Solution |
|---|
| | "" | | |
注意
この関数は、スタティックにコールする
ことはできません。