C_Lightbox_Installer

The NextGEN Gallery C Lightbox Installer class.

Defined (1)

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

/products/photocrati_nextgen/modules/lightbox/package.module.lightbox.php  
  1. class C_Lightbox_Installer 
  2. public function __construct() 
  3. $this->mapper = new C_Lightbox_Installer_Mapper(); 
  4. public function install_lightbox($name, $title, $code, $stylesheet_paths = array(), $script_paths = array(), $values = array(), $i18n = array()) 
  5. $lightbox = new C_NGG_Lightbox($name, array('title' => $title, 'code' => $code, 'styles' => is_array($stylesheet_paths) ? implode(' 
  6. ', $stylesheet_paths) : $stylesheet_paths, 'scripts' => is_array($script_paths) ? implode(' 
  7. ', $script_paths) : $script_paths, 'values' => $values, 'i18n' => $i18n)); 
  8. C_Lightbox_Library_Manager::get_instance()->register($name, $lightbox);