Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Generic plugin class loader
string $_includeFileCache = ''
Class map cache file
array $_loadedPluginPaths = 'array'
Instance loaded plugin paths
array $_loadedPlugins = 'array'
Instance loaded plugins
array $_prefixToPaths = 'array'
Instance registry property
array $_staticLoadedPluginPaths = 'array'
Statically loaded plugin path mappings
array $_staticLoadedPlugins = 'array'
Statically loaded plugins
array $_staticPrefixToPaths = 'array'
Static registry property
string|null $_useStaticRegistry = 'null'
Whether to use a statically named registry for loading plugins
__construct(
array $prefixToPaths
=
array, string $staticRegistryName
=
null
)
:
Constructor
_appendIncFile(
string $incFile
)
:
void
Append an include_once statement to the class file cache
_formatName(
string $name
)
:
string
Normalize plugin name
_formatPrefix(
string $prefix
)
:
string
Format prefix for internal use
addPrefixPath(
string $prefix, string $path
)
:
Zend_Loader_PluginLoader
Add prefixed paths to the registry of paths
clearPaths(
string $prefix
=
null
)
:
bool
Clear path stack
getClassName(
string $name
)
:
string|false
Return full class name for a named plugin
getClassPath(
mixed $name
)
:
string|false
Get path to plugin class
getIncludeFileCache(
)
:
string|null
Retrieve class file cache path
getPaths(
string $prefix
=
null
)
:
false|array
Get path stack
isLoaded(
string $name
)
:
Zend_Loader_PluginLoader
Whether or not a Plugin by a specific name is loaded
load(
string $name, bool $throwExceptions
=
true
)
:
string|false
Load a plugin via the name provided
removePrefixPath(
string $prefix, string $path
=
null
)
:
Zend_Loader_PluginLoader
Remove a prefix (or prefixed-path) from the registry
setIncludeFileCache(
string $file
)
:
void
Set path to class file cache
Specify a path to a file that will add include_once statements for each plugin class loaded. This is an opt-in feature for performance purposes.