_formatName example

return ucfirst((string) $name);
    }

    /** * Whether or not a Plugin by a specific name is loaded * * @param string $name * @return Zend_Loader_PluginLoader */
    public function isLoaded($name)
    {
        $name = $this->_formatName($name);
        if ($this->_useStaticRegistry) {
            return isset(self::$_staticLoadedPlugins[$this->_useStaticRegistry][$name]);
        }

        return isset($this->_loadedPlugins[$name]);
    }

    /** * Return full class name for a named plugin * * @param string $name * @return string|false False if class not found, class name otherwise */
Home | Imprint | This part of the site doesn't use cookies.