Property | Type | Description | |
---|---|---|---|
$useAPC |
Property | Type | Description | |
---|---|---|---|
$_BP | * Base Path | ||
$_cache | |||
$_instance | |||
$_numberOfFilesAddedToCache | |||
$_scope | |||
$cacheKey |
Method | Description | |
---|---|---|
__construct ( ) | Class constructor | |
__destruct ( ) | Class destructor | |
autoload ( string $class ) : boolean | Load class source code | |
getCache ( ) : array | Get cache | |
getCacheFilePath ( ) : string | Get cache file path | |
getCacheKey ( ) : string | Get cache key (for apc) | |
getFileFromClassName ( string $className ) : string | Get file name from class name | |
getFullPath ( $className ) : mixed | Get full path | |
getRevalidateFlagPath ( ) : string | Get revalidate flag file path | |
getScope ( ) : string | Get current autoload scope | |
instance ( ) : Varien_Autoload | Singleton pattern implementation | |
isApcUsed ( ) : boolean | Check if apc is used | |
loadCacheContent ( ) : array | Load cache content from file | |
register ( ) | Register SPL autoload function | |
registerScope ( string $code ) | Register autoload scope This process allow include scope file which can contain classes definition which are used for this scope | |
searchFullPath ( $filename ) : boolean | string | Checks if a file exists in the include path and returns the full path if the file exists | |
setCache ( array $cache ) | Setting cache content |
public static getCacheFilePath ( ) : string | ||
return | string |
public static getCacheKey ( ) : string | ||
return | string |
public static getFileFromClassName ( string $className ) : string | ||
$className | string | |
return | string |
public static getFullPath ( $className ) : mixed | ||
$className | ||
return | mixed |
public static getRevalidateFlagPath ( ) : string | ||
return | string |
public static instance ( ) : Varien_Autoload | ||
return | Varien_Autoload |
public static loadCacheContent ( ) : array | ||
return | array |
public static registerScope ( string $code ) | ||
$code | string | scope code |
public static searchFullPath ( $filename ) : boolean | string | ||
$filename | ||
return | boolean | string |