WYSIJA_model_email_user_stat

The MailPoet Newsletters WYSIJA model email user stat class.

Defined (1)

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

/models/email_user_stat.php  
  1. class WYSIJA_model_email_user_stat extends WYSIJA_model{ 
  2.  
  3. var $pk=array('email_id', 'user_id'); 
  4. var $table_name='email_user_stat'; 
  5. var $columns=array( 
  6. 'email_id'=>array('req'=>true, 'type'=>'integer'),  
  7. 'user_id'=>array('req'=>true, 'type'=>'integer'),  
  8. 'sent_at' => array('req'=>true, 'type'=>'integer'),  
  9. 'opened_at' => array('req'=>true, 'type'=>'integer'),  
  10. 'status' => array('req'=>true, 'type'=>'integer') 
  11. ); 
  12.  
  13. function __construct() { 
  14. parent::__construct();