function HTMLPurifier_DefinitionCache_Drupal::get in HTML Purifier 6.2
Same name and namespace in other branches
- 5 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::get()
- 6 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::get()
- 7.2 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::get()
- 7 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::get()
Retrieve an object from the cache
File
- ./
HTMLPurifier_DefinitionCache_Drupal.php, line 55
Class
- HTMLPurifier_DefinitionCache_Drupal
- Cache handler that stores all data in drupals builtin cache
Code
function get($config) {
$key = $this
->generateKey($config);
return $this
->fetchFromDrupalCache($key);
}