PEAR_Registry::checkFileMap

PEAR_Registry::checkFileMap()

PEAR_Registry::checkFileMap() -- Test whether a file belongs to a package

Description

Test whether a file belongs to a package.

Parameter

string $path

file path, absolute or relative to the pear install dir

Return value

string - name of the package the file belongs to, or an empty string if the file does not belong to an installed package

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.