src/Zend/Loader/PluginLoader.php
public function getClassPath($name)
    {
        $name = $this->_formatName($name);
        if ($this->_useStaticRegistry
            && !empty(self::$_staticLoadedPluginPaths[$this->_useStaticRegistry][$name])
        ) {
            return self::$_staticLoadedPluginPaths[$this->_useStaticRegistry][$name];
        } elseif (!empty($this->_loadedPluginPaths[$name])) {
            return $this->_loadedPluginPaths[$name];
        }

        if ($this->isLoaded($name)) {
            $class = $this->getClassName($name);
            $r     = new ReflectionClass($class);
            $path  = $r->getFileName();
            if ($this->_useStaticRegistry) {
                self::$_staticLoadedPluginPaths[$this->_useStaticRegistry][$name] = $path;
            } else {
                $this->_loadedPluginPaths[$name] = $path;
            }
            return $path;
        }

        return false;
    }
public function getClassPath($name)
    {
        $name = $this->_formatName($name);
        if ($this->_useStaticRegistry
            && !empty(self::$_staticLoadedPluginPaths[$this->_useStaticRegistry][$name])
        ) {
            return self::$_staticLoadedPluginPaths[$this->_useStaticRegistry][$name];
        } elseif (!empty($this->_loadedPluginPaths[$name])) {
            return $this->_loadedPluginPaths[$name];
        }

        if ($this->isLoaded($name)) {
            $class = $this->getClassName($name);
            $r     = new ReflectionClass($class);
            $path  = $r->getFileName();
            if ($this->_useStaticRegistry) {
                self::$_staticLoadedPluginPaths[$this->_useStaticRegistry][$name] = $path;
            } else {
                $this->_loadedPluginPaths[$name] = $path;
            }
            return $path;
        }

        return false;
    }
public function getClassPath ( $ name ) { $ name = $ this -> _formatName ( $ name ) ; if ( $ this -> _useStaticRegistry && ! empty ( self :: $ _staticLoadedPluginPaths [ $ this -> _useStaticRegistry ] [ $ name ] ) ) { return self :: $ _staticLoadedPluginPaths [ $ this -> _useStaticRegistry ] [ $ name ] ; } elseif ( ! empty ( $ this -> _loadedPluginPaths [ $ name ] ) ) { return $ this -> _loadedPluginPaths [ $ name ] ; } if ( $ this -> isLoaded ( $ name ) ) { $ class = $ this -> getClassName ( $ name ) ; $ r = new ReflectionClass ( $ class ) ; $ path = $ r -> getFileName ( ) ; if ( $ this -> _useStaticRegistry ) { self :: $ _staticLoadedPluginPaths [ $ this -> _useStaticRegistry ] [ $ name ] = $ path ; } else { $ this -> _loadedPluginPaths [ $ name ] = $ path ; } return $ path ; } return false ; }
Get path to plugin class

@param  mixed $name
@return string|false False if not found
Get path to plugin class