<?php
/**
 * Joomla! 1.5 component NS Pro
 *
 * @version $Id: nspro.php 2009-04-28 01:47:12 svn $
 * @author Christopher Mavros
 * @package Joomla
 * @subpackage NS Pro
 * @license GNU/GPL
 *
 * Pro Version of Newsletter Subscriber.
Provides:
Keep subscriptions in database
Unsubscription Page
Optional Confirmation on subscribe/unsubscribe
Subscription Manager
Send Newsletters
Newsletter Manager
Subscription Statistics
Unique Emails (does not allow duplicates)
 *
 * This component file was created using the Joomla Component Creator by Not Web Design
 * http://www.notwebdesign.com/joomla_component_creator/
 *
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

class Tablenssubs extends JTable
{
    /** @var int Primary key */
    var $id                 = 0;
    /** @var string */
    var $name               = '';
    /** @var string */
    var $email              = '';
    /** @var string */
    var $datetime           = '';
    /** @var string   */
    var $notes              = '';
    /** @var boolean */
    var $confirmed          = 0;
    /** @var string */
    var $mailing_lists      = '';

    /**
     * Constructor
     *
     * @param object Database connector object
     */
    function Tablenssubs(& $db) {
        parent::__construct('#__nspro_subs', 'id', $db);
    }

    function getErrorMsg() {
      return 'Error';
    }

}
?>
