function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __("Datetime Fields", "event_espresso");
     $this->_old_table = $wpdb->prefix . "esp_datetime";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __("Question Options", "event_espresso");
     $this->_old_table = $wpdb->prefix . "esp_question_option";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __("Prices", "event_espresso");
     $this->_old_table = $wpdb->prefix . "esp_price";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_old_table = $wpdb->postmeta;
     $this->_pretty_name = __('Billing Info', 'event_espresso');
     $this->_extra_where_sql = "WHERE meta_key LIKE 'billing_info_%'";
     parent::__construct();
 }
 /**
  * Just initializes the status of the migration
  *
  * @return EE_DMS_4_9_0_Email_System_Question
  */
 public function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __('Email - System Question', 'event_espresso');
     $this->_old_table = $wpdb->prefix . 'esp_question';
     $this->_extra_where_sql = "WHERE QST_system = 'email'";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_old_table = $wpdb->prefix . "events_detail";
     $this->_new_table = $wpdb->prefix . "esp_event_question_group";
     $this->_pretty_name = __("Question Groups in each Event", "event_espresso");
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_old_table = $wpdb->prefix . 'esp_payment';
     $this->_payment_method_table = $wpdb->prefix . 'esp_payment_method';
     $this->_pretty_name = __('Payment-Payment Method Relations', 'event_espresso');
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __("Checkins", "event_espresso");
     $this->_old_table = $wpdb->prefix . "events_attendee";
     $this->_new_table = $wpdb->prefix . "esp_checkin";
     parent::__construct();
 }
 public function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __('Event Message Templates', 'event_espresso');
     $this->_old_table = $wpdb->prefix . "esp_message_template_group";
     $this->_emt_table = $wpdb->prefix . "esp_event_message_template";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_old_table = $wpdb->prefix . 'esp_line_item';
     $this->_extra_where_sql = ' WHERE LIN_type="sub-total" AND LIN_code="pre-tax-subtotal"';
     $this->_pretty_name = __('Event Sub-total line items', 'event_espresso');
     parent::__construct();
 }
 function __construct()
 {
     $this->_pretty_name = __("Calendar Category Metadata", "event_espresso");
     global $wpdb;
     $this->_old_table = $wpdb->prefix . "events_category_detail";
     $this->_new_table = $wpdb->terms;
     $this->_new_meta_table = $wpdb->prefix . "esp_extra_meta";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __("Answers", "event_espresso");
     $this->_old_table = $wpdb->prefix . "events_answer";
     $this->_new_answer_table = $wpdb->prefix . "esp_answer";
     $this->_new_question_table = $wpdb->prefix . "esp_question";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_old_table = $wpdb->prefix . 'esp_extra_meta';
     $this->_transaction_table = $wpdb->prefix . 'esp_transaction';
     $this->_payment_method_table = $wpdb->prefix . 'esp_payment_method';
     $this->_pretty_name = __('Transaction Payment Method Relations', 'event_espresso');
     $this->_extra_where_sql = "WHERE EXM_key = 'gateway' AND EXM_type = 'Transaction'";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __("Line Items", "event_espresso");
     $this->_old_table = $wpdb->prefix . "events_attendee";
     $this->_new_transaction_table = $wpdb->prefix . "esp_transaction";
     $this->_new_line_table = $wpdb->prefix . "esp_line_item";
     $this->_new_reg_table = $wpdb->prefix . "esp_registration";
     parent::__construct();
 }
 function __construct()
 {
     /** @type WPDB $wpdb */
     global $wpdb;
     $this->_pretty_name = __('Registration Final Price Tax Calculations', 'event_espresso');
     // define tables
     $this->_old_table = $wpdb->prefix . 'esp_registration';
     $this->_ticket_table = $wpdb->prefix . 'esp_ticket';
     $this->_line_item_table = $wpdb->prefix . 'esp_line_item';
     parent::__construct();
 }
 /**
  * Just initializes the status of the migration
  *
  * @return EE_DMS_4_6_0_question_types
  */
 public function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __('Question Types', 'event_espresso');
     $this->_old_table = $wpdb->prefix . 'esp_question';
     $this->_question_type_conversions = array('MULTIPLE' => 'CHECKBOX', 'SINGLE' => 'RADIO_BTN');
     //when fetching rows, because we automatically use a limit and offset
     //rows counted before migrating any rows, need to ALSO be counted after a bunch of rows were counted
     //so we need to include both the migrated rows as well as the non-migrated rows
     $QST_types_to_count = array_merge(array_keys($this->_question_type_conversions), $this->_question_type_conversions);
     $this->_extra_where_sql = "WHERE QST_type IN ('" . implode("', '", $QST_types_to_count) . "')";
     parent::__construct();
 }
 function __construct()
 {
     /** @type WPDB $wpdb */
     global $wpdb;
     $this->_pretty_name = __('Registration Payment Record Generation', 'event_espresso');
     // define tables
     $this->_old_table = $wpdb->prefix . 'esp_transaction';
     $this->_payment_table = $wpdb->prefix . 'esp_payment';
     $this->_registration_table = $wpdb->prefix . 'esp_registration';
     $this->_registration_payment_table = $wpdb->prefix . 'esp_registration_payment';
     // build SQL WHERE clauses
     $this->_extra_where_sql = "WHERE STS_ID IN ( 'TIN', 'TCM' ) AND TXN_Total != '0.000'";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __("Prices", "event_espresso");
     $this->_old_table = $wpdb->prefix . "events_prices";
     $this->_new_price_table = $wpdb->prefix . "esp_price";
     $this->_new_ticket_table = $wpdb->prefix . "esp_ticket";
     $this->_new_ticket_price_table = $wpdb->prefix . "esp_ticket_price";
     $this->_new_datetime_ticket_table = $wpdb->prefix . "esp_datetime_ticket";
     parent::__construct();
 }
 function __construct()
 {
     global $wpdb;
     $this->_pretty_name = __("Attendees", "event_espresso");
     $this->_old_table = $wpdb->prefix . "events_attendee";
     $this->_old_mer_table = $wpdb->prefix . "events_multi_event_registration_id_group";
     $this->_new_attendee_cpt_table = $wpdb->posts;
     $this->_new_attendee_meta_table = $wpdb->prefix . "esp_attendee_meta";
     $this->_new_reg_table = $wpdb->prefix . "esp_registration";
     $this->_new_transaction_table = $wpdb->prefix . "esp_transaction";
     $this->_new_payment_table = $wpdb->prefix . "esp_payment";
     $this->_new_line_table = $wpdb->prefix . "esp_line_item";
     $this->_new_ticket_table = $wpdb->prefix . "esp_ticket";
     $this->_new_ticket_datetime_table = $wpdb->prefix . "esp_datetime_ticket";
     $this->_new_datetime_table = $wpdb->prefix . "esp_datetime";
     parent::__construct();
 }