src/Zend/Loader/PluginLoader.php
public function getPaths($prefix = null)
    {
        if ((null !== $prefix) && is_string($prefix)) {
            $prefix = $this->_formatPrefix($prefix);
            if ($this->_useStaticRegistry) {
                if (isset(self::$_staticPrefixToPaths[$this->_useStaticRegistry][$prefix])) {
                    return self::$_staticPrefixToPaths[$this->_useStaticRegistry][$prefix];
                }

                return false;
            }

            if (isset($this->_prefixToPaths[$prefix])) {
                return $this->_prefixToPaths[$prefix];
            }

            return false;
        }

        if ($this->_useStaticRegistry) {
            return self::$_staticPrefixToPaths[$this->_useStaticRegistry];
        }

        return $this->_prefixToPaths;
    }
public function getPaths($prefix = null)
    {
        if ((null !== $prefix) && is_string($prefix)) {
            $prefix = $this->_formatPrefix($prefix);
            if ($this->_useStaticRegistry) {
                if (isset(self::$_staticPrefixToPaths[$this->_useStaticRegistry][$prefix])) {
                    return self::$_staticPrefixToPaths[$this->_useStaticRegistry][$prefix];
                }

                return false;
            }

            if (isset($this->_prefixToPaths[$prefix])) {
                return $this->_prefixToPaths[$prefix];
            }

            return false;
        }

        if ($this->_useStaticRegistry) {
            return self::$_staticPrefixToPaths[$this->_useStaticRegistry];
        }

        return $this->_prefixToPaths;
    }
public function getPaths ( $ prefix = null ) { if ( ( null !== $ prefix ) && is_string ( $ prefix ) ) { $ prefix = $ this -> _formatPrefix ( $ prefix ) ; if ( $ this -> _useStaticRegistry ) { if ( isset ( self :: $ _staticPrefixToPaths [ $ this -> _useStaticRegistry ] [ $ prefix ] ) ) { return self :: $ _staticPrefixToPaths [ $ this -> _useStaticRegistry ] [ $ prefix ] ; } return false ; } if ( isset ( $ this -> _prefixToPaths [ $ prefix ] ) ) { return $ this -> _prefixToPaths [ $ prefix ] ; } return false ; } if ( $ this -> _useStaticRegistry ) { return self :: $ _staticPrefixToPaths [ $ this -> _useStaticRegistry ] ; } return $ this -> _prefixToPaths ; }
Get path stack

@param  string $prefix
@return false|array False if prefix does not exist, array otherwise
Get path stack