CachingDownloaderAwareTrait
Lightweight caching downloader aware marker trait.
Tags
Table of Contents
- $cacheOptionsFile : mixed
- Cache Options file. This can be overridden by child classes to declare which .ini file contains the $cacheOptionsSection above.
- $cacheOptionsSection : string
- Cache Options Section. This can be overridden by child classes to declare a section in config.ini which will be parsed to override default settings.
- $cachingDownloader : CachingDownloader
- Caching downloader
- $downloaderCacheId : string
- Cache ID. This can be overridden by child classes if they want to use a separate cache.
- setCachingDownloader() : void
- Set caching downloader
Properties
$cacheOptionsFile
Cache Options file. This can be overridden by child classes to declare which .ini file contains the $cacheOptionsSection above.
protected
mixed
$cacheOptionsFile
= null
$cacheOptionsSection
Cache Options Section. This can be overridden by child classes to declare a section in config.ini which will be parsed to override default settings.
protected
string
$cacheOptionsSection
= null
Note that the prefix "Cache_" will be prepended on this string.
$cachingDownloader
Caching downloader
protected
CachingDownloader
$cachingDownloader
= null
$downloaderCacheId
Cache ID. This can be overridden by child classes if they want to use a separate cache.
protected
string
$downloaderCacheId
= 'downloader'
Methods
setCachingDownloader()
Set caching downloader
public
setCachingDownloader( $cachingDownloader) : void