Example #1
0
function DSubscribers()
{
    $instance = DSubscribers::instance(__FILE__, '1.2');
    if (is_null($instance->settings)) {
        $instance->settings = DSubscribers_Settings::instance($instance);
    }
    $instance->table = DSubscribers_Table::instance($instance);
    return $instance;
}
 public static function instance($parent)
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self($parent);
     }
     return self::$_instance;
 }