Zend Framework
1.12
|
Public Member Functions | |
__construct (Array $prefixToPaths=array(), $staticRegistryName=null) | |
Constructor. | |
addPrefixPath ($prefix, $path) | |
Add prefixed paths to the registry of paths. | |
getPaths ($prefix=null) | |
Get path stack. | |
clearPaths ($prefix=null) | |
Clear path stack. | |
removePrefixPath ($prefix, $path=null) | |
Remove a prefix (or prefixed-path) from the registry. | |
isLoaded ($name) | |
Whether or not a Plugin by a specific name is loaded. | |
getClassName ($name) | |
Return full class name for a named plugin. | |
getClassPath ($name) | |
Get path to plugin class. | |
load ($name, $throwExceptions=true) | |
Load a plugin via the name provided. | |
![]() | |
load ($name) | |
Load a helper via the name provided. | |
Static Public Member Functions | |
static | setIncludeFileCache ($file) |
Set path to class file cache. | |
static | getIncludeFileCache () |
Retrieve class file cache path. | |
Protected Member Functions | |
_formatPrefix ($prefix) | |
Format prefix for internal use. | |
_formatName ($name) | |
Normalize plugin name. | |
Static Protected Member Functions | |
static | _appendIncFile ($incFile) |
Append an include_once statement to the class file cache. | |
Protected Attributes | |
$_loadedPluginPaths = array() | |
$_loadedPlugins = array() | |
$_prefixToPaths = array() | |
$_useStaticRegistry = null | |
Static Protected Attributes | |
static | $_includeFileCache |
static | $_staticLoadedPluginPaths = array() |
static | $_staticLoadedPlugins = array() |
static | $_staticPrefixToPaths = array() |
__construct | ( | Array | $prefixToPaths = array() , |
$staticRegistryName = null |
|||
) |
Constructor.
array | $prefixToPaths | |
string | $staticRegistryName | OPTIONAL |
|
staticprotected |
Append an include_once statement to the class file cache.
string | $incFile |
|
protected |
Normalize plugin name.
string | $name |
|
protected |
Format prefix for internal use.
string | $prefix |
addPrefixPath | ( | $prefix, | |
$path | |||
) |
Add prefixed paths to the registry of paths.
string | $prefix | |
string | $path |
Implements Zend_Loader_PluginLoader_Interface.
clearPaths | ( | $prefix = null | ) |
Clear path stack.
string | $prefix |
getClassName | ( | $name | ) |
Return full class name for a named plugin.
string | $name |
Implements Zend_Loader_PluginLoader_Interface.
getClassPath | ( | $name | ) |
Get path to plugin class.
mixed | $name |
|
static |
Retrieve class file cache path.
getPaths | ( | $prefix = null | ) |
Get path stack.
string | $prefix |
isLoaded | ( | $name | ) |
Whether or not a Plugin by a specific name is loaded.
string | $name |
Implements Zend_Loader_PluginLoader_Interface.
load | ( | $name, | |
$throwExceptions = true |
|||
) |
Load a plugin via the name provided.
string | $name | |
bool | $throwExceptions | Whether or not to throw exceptions if the class is not resolved |
Zend_Loader_Exception | if class not found |
removePrefixPath | ( | $prefix, | |
$path = null |
|||
) |
Remove a prefix (or prefixed-path) from the registry.
string | $prefix | |
string | $path | OPTIONAL |
Implements Zend_Loader_PluginLoader_Interface.
|
static |
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.
string | $file |
Zend_Loader_PluginLoader_Exception | if file is not writeable or path does not exist |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |