WYSIJA_model_forms

The MailPoet Newsletters WYSIJA model forms class.

Defined (1)

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

/models/forms.php  
  1. class WYSIJA_model_forms extends WYSIJA_model{ 
  2.  
  3. var $pk = 'form_id'; 
  4. var $table_name = 'form'; 
  5. var $columns = array( 
  6. 'form_id' => array('type' => 'integer'),  
  7. 'name' => array('req' => true),  
  8. 'data' => array('type' => 'text'),  
  9. 'styles' => array('type' => 'text'),  
  10. 'subscribed' => array('type' => 'integer') 
  11. ); 
  12. var $escapeFields = array('name'); 
  13. var $escapingOn = true; 
  14.  
  15. function WYSIJA_model_form() { 
  16. $this->WYSIJA_model();