PEAR_Registry::checkFileMap()

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

Referentiesamenvatting

require_once 'PEAR/Registry.php';

string PEAR_Registry::checkFileMap (string $path)

Beschrijving

Test whether a file belongs to a package.

Parameter

string $path

file path, absolute or relative to the pear install dir

Return waarde

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

Throws

Tabel 28-1. Mogelijke PEAR_Error waarden

Error codeError valueMeaningSolution
 ""  

Note

Deze functie kan niet statisch worden aangeroepen.