M_Cache

The NextGEN Gallery M Cache class.

Defined (1)

The class is defined in the following location(s).

/products/photocrati_nextgen/modules/cache/module.cache.php  
  1. class M_Cache extends C_Base_Module 
  2. /** 
  3. * Defines the module name & version 
  4. */ 
  5. function define($id = 'pope-module',  
  6. $name = 'Pope Module',  
  7. $description = '',  
  8. $version = '',  
  9. $uri = '',  
  10. $author = '',  
  11. $author_uri = '',  
  12. $context = FALSE) 
  13. parent::define( 
  14. 'photocrati-cache',  
  15. 'Cache',  
  16. 'Handles clearing of NextGen caches',  
  17. '0.2',  
  18. 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',  
  19. 'Imagely',  
  20. 'https://www.imagely.com' 
  21. ); 
  22.  
  23. /** 
  24. * Register utilities 
  25. */ 
  26. function _register_utilities() 
  27. $this->get_registry()->add_utility('I_Cache', 'C_Cache'); 
  28.  
  29. function get_type_list() 
  30. return array( 
  31. 'C_Cache' => 'class.cache.php' 
  32. );