M_NextGen_Pro_Upgrade

{ Module: photocrati-nextgen_pro_upgrade, Depends: { photocrati-nextgen_admin } }.

Defined (1)

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

/products/photocrati_nextgen/modules/nextgen_pro_upgrade/module.nextgen_pro_upgrade.php  
  1. class M_NextGen_Pro_Upgrade 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_pro_upgrade',  
  12. 'NextGEN Pro Page',  
  13. 'NextGEN Gallery Pro Upgrade Page',  
  14. '0.6',  
  15. 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',  
  16. 'Imagely',  
  17. 'https://www.imagely.com' 
  18. ); 
  19.  
  20. function _register_adapters() 
  21. if (is_admin()) 
  22. $this->get_registry()->add_adapter('I_Page_Manager', 'A_NextGen_Pro_Upgrade_Page'); 
  23. $this->get_registry()->add_adapter('I_Page_Manager', 'A_NextGen_Pro_Plus_Upgrade_Page'); 
  24. $this->get_registry()->add_adapter('I_NextGen_Admin_Page', 'A_NextGen_Pro_Upgrade_Controller', 'ngg_pro_upgrade'); 
  25.  
  26. function get_type_list() 
  27. return array( 
  28. 'A_NextGen_Pro_Upgrade_Controller' => 'adapter.nextgen_pro_upgrade_controller.php',  
  29. 'A_NextGen_Pro_Plus_Upgrade_Page' => 'adapter.nextgen_pro_plus_upgrade_page.php',  
  30. 'A_NextGen_Pro_Upgrade_Page' => 'adapter.nextgen_pro_upgrade_page.php' 
  31. );