File: /home/t/h/a/thanexcelr/www/wp-content/plugins/nextgen-gallery/pope/lib/class.base_product.php
<?php
if (!defined('POPE_VERSION')) { die('Use autoload.php'); }
/**
* A Product is a collection of modules with some meta data.
*
* Products are responsible for including and loading any modules required
* for the functionality of the product.
*
* Module initialization is handled by the bootstrap procedure.
*/
abstract class C_Base_Product extends C_Base_Module
{
function define($id='pope-product', $name='Pope Product', $description='', $version='', $uri='', $author='', $author_uri='', $context=FALSE)
{
parent::define($id, $name, $description, $version, $uri, $author, $author_uri, $context);
$this->get_registry()->add_product($this->module_id, $this);
}
function get_type_list()
{
return array();
}
function is_background_product()
{
return false;
}
function get_dashboard_message($type = null)
{
return false;
}
}