$_instance
$_instance : \Zend_Loader_Autoloader
Autoloader stack and namespace autoloader
$_instance : \Zend_Loader_Autoloader
getInstance() : \Zend_Loader_Autoloader
Retrieve singleton instance
setAutoloaders(array $autoloaders) : \Zend_Loader_Autoloader
Set several autoloader callbacks at once
array | $autoloaders | Array of PHP callbacks (or Zend_Loader_Autoloader_Interface implementations) to act as autoloaders |
registerNamespace(string|array $namespace) : \Zend_Loader_Autoloader
Register a namespace to autoload
string|array | $namespace |
unregisterNamespace(string|array $namespace) : \Zend_Loader_Autoloader
Unload a registered autoload namespace
string|array | $namespace |
suppressNotFoundWarnings(null|boolean $flag = null) : boolean|\Zend_Loader_Autoloader
Get or set the value of the "suppress not found warnings" flag
null|boolean | $flag |
Returns boolean if no argument is passed, object instance otherwise
setFallbackAutoloader(boolean $flag) : \Zend_Loader_Autoloader
Indicate whether or not this autoloader should be a fallback autoloader
boolean | $flag |
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.
string | $class |
Array of autoloaders to use
unshiftAutoloader(object|array|string $callback, string|array $namespace = '') : \Zend_Loader_Autoloader
Add an autoloader to the beginning of the stack
object|array|string | $callback | PHP callback or Zend_Loader_Autoloader_Interface implementation |
string|array | $namespace | Specific namespace(s) under which to register callback |
pushAutoloader(object|array|string $callback, string|array $namespace = '') : \Zend_Loader_Autoloader
Append an autoloader to the autoloader stack
object|array|string | $callback | PHP callback or Zend_Loader_Autoloader_Interface implementation |
string|array | $namespace | Specific namespace(s) under which to register callback |
removeAutoloader(object|array|string $callback, null|string|array $namespace = null) : \Zend_Loader_Autoloader
Remove an autoloader from the autoloader stack
object|array|string | $callback | PHP callback or Zend_Loader_Autoloader_Interface implementation |
null|string|array | $namespace | Specific namespace(s) from which to remove autoloader |
_setNamespaceAutoloaders(array $autoloaders, string $namespace = '') : \Zend_Loader_Autoloader
Set autoloaders for a specific namespace
array | $autoloaders | |
string | $namespace |