class xautoload_Plugin_checkIncludePath in X Autoload 7.2
This class is not used anywhere in xautoload, but could be used by other modules.
Hierarchy
- class \xautoload_Plugin_checkIncludePath implements xautoload_Plugin_Interface
Expanded class hierarchy of xautoload_Plugin_checkIncludePath
File
- lib/
Plugin/ checkIncludePath.php, line 8
View source
class xautoload_Plugin_checkIncludePath implements xautoload_Plugin_Interface {
/**
* Expect a class Aaa_Bbb_Ccc_Ddd to be in Aaa/Bbb/Ccc/Ddd.php,
* but consider the PHP include_path setting.
*
* @param object $api
* The InjectedAPI object.
* @param string $path_prefix_symbolic
* First part of the path, for instance "Aaa/Bbb/".
* @param string $path_suffix
* Second part of the path, for instance "Ccc/Ddd.php".
*/
function findFile($api, $path_prefix_symbolic, $path_suffix) {
$path = $path_prefix_symbolic . $path_suffix;
if ($api
->suggestFile_checkIncludePath($path)) {
return TRUE;
}
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
xautoload_Plugin_checkIncludePath:: |
function |
Expect a class Aaa_Bbb_Ccc_Ddd to be in Aaa/Bbb/Ccc/Ddd.php,
but consider the PHP include_path setting. Overrides xautoload_Plugin_Interface:: |