protected function _isPluginFile($file) { foreach ($this->_pluginPaths as $plugin => $path) { if (strstr($file, $path)) { return $plugin; } } return false; }