M_NextGen_Basic_Templates

The NextGEN Gallery M NextGen Basic Templates class.

Defined (1)

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

/products/photocrati_nextgen/modules/nextgen_basic_templates/module.nextgen_basic_templates.php  
  1. class M_NextGen_Basic_Templates extends C_Base_Module 
  2. function define($id = 'pope-module',  
  3. $name = 'Pope Module',  
  4. $description = '',  
  5. $version = '',  
  6. $uri = '',  
  7. $author = '',  
  8. $author_uri = '',  
  9. $context = FALSE) 
  10. parent::define( 
  11. 'photocrati-nextgen_basic_templates',  
  12. 'NextGen Basic Templates',  
  13. 'Provides a NextGen-Legacy compatible thumbnail gallery for NextGEN Gallery',  
  14. '0.7',  
  15. 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',  
  16. 'Imagely',  
  17. 'https://www.imagely.com' 
  18. ); 
  19.  
  20. function _register_utilities() 
  21. $this->get_registry()->add_utility( 
  22. 'I_Legacy_Template_Locator',  
  23. 'C_Legacy_Template_Locator' 
  24. ); 
  25.  
  26. function _register_adapters() 
  27. $this->get_registry()->add_adapter( 
  28. 'I_Form',  
  29. 'A_NextGen_Basic_Template_Form' 
  30. ); 
  31.  
  32. function get_type_list() 
  33. return array( 
  34. 'A_Nextgen_Basic_Template_Form' => 'adapter.nextgen_basic_template_form.php',  
  35. 'C_Legacy_Template_Locator' => 'class.legacy_template_locator.php',  
  36. 'Mixin_Nextgen_Basic_Templates' => 'mixin.nextgen_basic_templates.php' 
  37. );