|
Moodle
2.2.1
http://www.collinsharper.com
|
Definition at line 35 of file Autoloader.php.
| __construct | ( | ) | [protected] |
Constructor
Registers instance with spl_autoload stack
Definition at line 453 of file Autoloader.php.
| _autoload | ( | $ | class | ) | [protected] |
Internal autoloader implementation
| string | $class |
Definition at line 465 of file Autoloader.php.

| _getAvailableVersions | ( | $ | path, |
| $ | version | ||
| ) | [protected] |
Get available versions for the version type requested
| string | $path | |
| string | $version |
Definition at line 552 of file Autoloader.php.

| _getVersionPath | ( | $ | path, |
| $ | version | ||
| ) | [protected] |
Retrieve the filesystem path for the requested ZF version
| string | $path | |
| string | $version |
Definition at line 501 of file Autoloader.php.


| _getVersionType | ( | $ | version | ) | [protected] |
Retrieve the ZF version type
| string | $version |
| Zend_Loader_Exception | if version string contains too many dots |
Definition at line 525 of file Autoloader.php.

| _setNamespaceAutoloaders | ( | array $ | autoloaders, |
| $ | namespace = '' |
||
| ) | [protected] |
Set autoloaders for a specific namespace
| array | $autoloaders | |
| string | $namespace |
Definition at line 487 of file Autoloader.php.

| static autoload | ( | $ | class | ) | [static] |
Autoload a class
| string | $class |
Definition at line 114 of file Autoloader.php.

| getAutoloaders | ( | ) |
Get attached autoloader implementations
Definition at line 180 of file Autoloader.php.

| getClassAutoloaders | ( | $ | class | ) |
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 |
Definition at line 327 of file Autoloader.php.

Retrieve the default autoloader callback
Definition at line 158 of file Autoloader.php.

| static getInstance | ( | ) | [static] |
Retrieve singleton instance
Definition at line 90 of file Autoloader.php.

| getNamespaceAutoloaders | ( | $ | namespace | ) |
Return all autoloaders for a given namespace
| string | $namespace |
Definition at line 191 of file Autoloader.php.

Get a list of registered autoload namespaces
Definition at line 249 of file Autoloader.php.

| getZfPath | ( | ) |
Definition at line 275 of file Autoloader.php.
Is this instance acting as a fallback autoloader?
Definition at line 312 of file Autoloader.php.

| pushAutoloader | ( | $ | callback, |
| $ | namespace = '' |
||
| ) |
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 |
Definition at line 394 of file Autoloader.php.

| registerNamespace | ( | $ | namespace | ) |
Register a namespace to autoload
| string | array | $namespace |
Definition at line 206 of file Autoloader.php.
| removeAutoloader | ( | $ | callback, |
| $ | namespace = null |
||
| ) |
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 |
Definition at line 417 of file Autoloader.php.

| static resetInstance | ( | ) | [static] |
| setAutoloaders | ( | array $ | autoloaders | ) |
Set several autoloader callbacks at once
| array | $autoloaders | Array of PHP callbacks (or Zend_Loader_Autoloader_Interface implementations) to act as autoloaders |
Definition at line 169 of file Autoloader.php.

| setDefaultAutoloader | ( | $ | callback | ) |
Set the default autoloader implementation
| string | array | $callback | PHP callback |
Definition at line 143 of file Autoloader.php.
| setFallbackAutoloader | ( | $ | flag | ) |
Indicate whether or not this autoloader should be a fallback autoloader
| bool | $flag |
Definition at line 301 of file Autoloader.php.
| setZfPath | ( | $ | spec, |
| $ | version = 'latest' |
||
| ) |
| suppressNotFoundWarnings | ( | $ | flag = null | ) |
Get or set the value of the "suppress not found warnings" flag
| null | bool | $flag |
Definition at line 286 of file Autoloader.php.

| unregisterNamespace | ( | $ | namespace | ) |
Unload a registered autoload namespace
| string | array | $namespace |
Definition at line 228 of file Autoloader.php.
| unshiftAutoloader | ( | $ | callback, |
| $ | namespace = '' |
||
| ) |
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 |
Definition at line 371 of file Autoloader.php.

$_autoloaders = array() [protected] |
Definition at line 45 of file Autoloader.php.
$_defaultAutoloader = array('Zend_Loader', 'loadClass') [protected] |
Definition at line 50 of file Autoloader.php.
$_fallbackAutoloader = false [protected] |
Definition at line 55 of file Autoloader.php.
$_instance [static, protected] |
Definition at line 40 of file Autoloader.php.
$_internalAutoloader [protected] |
Definition at line 60 of file Autoloader.php.
$_namespaceAutoloaders = array() [protected] |
Definition at line 73 of file Autoloader.php.
$_namespaces [protected] |
array( 'Zend_' => true, 'ZendX_' => true, )
Definition at line 65 of file Autoloader.php.
$_suppressNotFoundWarnings = false [protected] |
Definition at line 78 of file Autoloader.php.
$_zfPath [protected] |
Definition at line 83 of file Autoloader.php.