You are here

class xautoload_FinderPlugin_CheckIncludePath in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 legacy/lib/FinderPlugin/CheckIncludePath.php \xautoload_FinderPlugin_CheckIncludePath
  2. 7.3 lib/FinderPlugin/CheckIncludePath.php \xautoload_FinderPlugin_CheckIncludePath

This class is not used anywhere in xautoload, but could be used by other modules.

Hierarchy

Expanded class hierarchy of xautoload_FinderPlugin_CheckIncludePath

File

legacy/lib/FinderPlugin/CheckIncludePath.php, line 8

View source
class xautoload_FinderPlugin_CheckIncludePath implements xautoload_FinderPlugin_Interface {

  /**
   * {@inheritdoc}
   */
  function findFile($api, $path_fragment, $path_suffix) {
    $path = $path_fragment . $path_suffix;
    if ($api
      ->suggestFile_checkIncludePath($path)) {
      return TRUE;
    }
  }

}

Members

Namesort descending Modifiers Type Description Overrides
xautoload_FinderPlugin_CheckIncludePath::findFile function Find the file for a class that in PSR-0 or PEAR would be in $psr_0_root . '/' . $path_fragment . $path_suffix Overrides xautoload_FinderPlugin_Interface::findFile