| | The information in this article refers to an older version of EQdkp Plus / of the plugin. It is not used any longer. See the information Box for further information. |
| Information | |
|---|---|
| min. EQDKP-PLUS Version | 0.6.2.0 or higher |
| max. EQDKP-PLUS Version | 0.7.0.0
|
Contents |
The cache handler is managing all file inputs and outputs. The files are stored in the /data/ folder.
Its pretty simple: All you need is an eqdkp-plus >= 0.6.2.x. Then use the parameters shown above If the cacheHandler is used in a plugin, please enter the plugin name. because of that, the user can remove the folder with the pluginname later if he wants to delete the stored files
Check if the data folder is writable or not Output: true/false
$pcache->CacheWritable()
Returns the path to the requested file. The path is from rqdkp-root. Usage: check if file is available, output link..... Output: path to file
$pcache->FilePath('Dateiname', 'Pluginname')
Returns the URL to the requested file. Output: url to file
$pcache->FileLink('Dateiname', 'Pluginname')
Returns the path to the requested folder Output: path to folder
$pcache->FolderPath('Ordnername', 'Pluginname')