Свойство | Тип | Описание | |
---|---|---|---|
$useAPC |
Свойство | Тип | Описание | |
---|---|---|---|
$_BP | * Base Path | ||
$_cache | |||
$_instance | |||
$_numberOfFilesAddedToCache | |||
$_scope | |||
$cacheKey |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | string |
public static getCacheKey ( ) : string | ||
Результат | string |
public static getFileFromClassName ( string $className ) : string | ||
$className | string | |
Результат | string |
public static getFullPath ( $className ) : mixed | ||
$className | ||
Результат | mixed |
public static getRevalidateFlagPath ( ) : string | ||
Результат | string |
public static instance ( ) : Varien_Autoload | ||
Результат | Varien_Autoload |
public static loadCacheContent ( ) : array | ||
Результат | array |
public static registerScope ( string $code ) | ||
$code | string | scope code |
public static searchFullPath ( $filename ) : boolean | string | ||
$filename | ||
Результат | boolean | string |
protected static $_numberOfFilesAddedToCache |