- listing component
- subscribers listing
- newsletters listing
This commit is contained in:
Jonathan Labreuille
2015-09-01 16:21:25 +02:00
parent e0ef01d9f8
commit 27883a232a
20 changed files with 778 additions and 563 deletions

View File

@@ -5,6 +5,9 @@ if (!defined('ABSPATH')) exit;
class Subscriber extends Model {
public static $_table = MP_SUBSCRIBERS_TABLE;
const STATE_SUBSCRIBED = 1;
const STATE_UNCONFIRMED = 0;
const STATE_UNSUBSCRIBED = -1;
function __construct() {
parent::__construct();