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.
Autoloader stack and namespace autoloader
array $_autoloaders = 'array'
array $_defaultAutoloader = 'array'
bool $_fallbackAutoloader = 'false'
Zend_Loader_Autoloader $_instance = ''
array $_internalAutoloader = ''
array $_namespaceAutoloaders = 'array'
array $_namespaces = 'array'
bool $_suppressNotFoundWarnings = 'false'
null|string $_zfPath = ''
__construct(
)
:
void
Constructor
Registers instance with spl_autoload stack
_autoload(
string $class
)
:
bool
Internal autoloader implementation
_getAvailableVersions(
string $path, string $version
)
:
array
Get available versions for the version type requested
_getVersionPath(
string $path, string $version
)
:
void
Retrieve the filesystem path for the requested ZF version
_getVersionType(
string $version
)
:
string
Retrieve the ZF version type
_setNamespaceAutoloaders(
array $autoloaders, string $namespace
)
:
Zend_Loader_Autoloader
Set autoloaders for a specific namespace
autoload(
string $class
)
:
bool
Autoload a class
getAutoloaders(
)
:
array
Get attached autoloader implementations
getClassAutoloaders(
string $class
)
:
array
Get autoloaders to use when matching class
Determines if the class matches a registered namespace, and, if so, returns only the autoloaders for that namespace. Otherwise, it returns all non-namespaced autoloaders.
getDefaultAutoloader(
)
:
string|array
Retrieve the default autoloader callback
getInstance(
)
:
Zend_Loader_Autoloader
Retrieve singleton instance
getNamespaceAutoloaders(
string $namespace
)
:
array
Return all autoloaders for a given namespace
getRegisteredNamespaces(
)
:
array
Get a list of registered autoload namespaces
getZfPath(
)
:
isFallbackAutoloader(
)
:
bool
Is this instance acting as a fallback autoloader?
pushAutoloader(
object|array|string $callback, string|array $namespace
)
:
Zend_Loader_Autoloader
Append an autoloader to the autoloader stack
registerNamespace(
string|array $namespace
)
:
Zend_Loader_Autoloader
Register a namespace to autoload
removeAutoloader(
object|array|string $callback, null|string|array $namespace
=
null
)
:
Zend_Loader_Autoloader
Remove an autoloader from the autoloader stack
resetInstance(
)
:
void
Reset the singleton instance
setAutoloaders(
array $autoloaders
)
:
Zend_Loader_Autoloader
Set several autoloader callbacks at once
setDefaultAutoloader(
string|array $callback
)
:
void
Set the default autoloader implementation
setFallbackAutoloader(
bool $flag
)
:
Zend_Loader_Autoloader
Indicate whether or not this autoloader should be a fallback autoloader
setZfPath(
$spec, $version
=
latest
)
:
suppressNotFoundWarnings(
null|bool $flag
=
null
)
:
bool|Zend_Loader_Autoloader
Get or set the value of the "suppress not found warnings" flag
unregisterNamespace(
string|array $namespace
)
:
Zend_Loader_Autoloader
Unload a registered autoload namespace
unshiftAutoloader(
object|array|string $callback, string|array $namespace
)
:
Zend_Loader_Autoloader
Add an autoloader to the beginning of the stack