function __construct() { global $wpdb; $this->_pretty_name = __("Shortcodes", "event_espresso"); $this->_old_table = $wpdb->posts; parent::__construct(); }
/** * Just initializes the status of the migration */ public function __construct() { global $wpdb; $this->_line_item_table_name = $wpdb->prefix . "esp_line_item"; $this->_pretty_name = __('Pre-tax total line items', 'event_espresso'); parent::__construct(); }
function __construct() { global $wpdb; $this->_old_table = $wpdb->prefix . "events_qst_group"; $this->_new_table = $wpdb->prefix . "esp_question_group"; $this->_pretty_name = __("Question Groups", "event_espresso"); parent::__construct(); }
function __construct() { global $wpdb; $this->_old_table = $wpdb->prefix . "events_category_rel"; $this->_new_table = $wpdb->prefix . "term_relationships"; $this->_pretty_name = __("Event to Cateogry (4.1 Term Relationships)", "event_espresso"); parent::__construct(); }
function __construct() { global $wpdb; $this->_old_table = $wpdb->prefix . "events_venue_rel"; $this->_new_table = $wpdb->prefix . "esp_event_venue"; $this->_pretty_name = __("Event to Venue Relations", "event_espresso"); parent::__construct(); }
public function __construct() { global $wpdb; $this->_pretty_name = __('Payment Method Currencies', 'event_espresso'); $this->_payment_method_table_name = $wpdb->prefix . 'esp_payment_method'; $this->_currency_payment_method_table_name = $wpdb->prefix . 'esp_currency_payment_method'; $this->_currency_table_name = $wpdb->prefix . 'esp_currency'; parent::__construct(); }
function __construct() { $this->_pretty_name = __("Category Details", "event_espresso"); global $wpdb; $this->_old_table = $wpdb->prefix . "events_category_detail"; $this->_new_table = $wpdb->prefix . "term_taxonomy"; $this->_new_term_table = $wpdb->prefix . "terms"; parent::__construct(); }
/** * Just initializes the status of the migration */ public function __construct() { global $wpdb; $this->_new_table_name = $wpdb->prefix . "esp_payment_method"; $this->_extra_meta_table_name = $wpdb->prefix . "esp_extra_meta"; $this->_currency_table_name = $wpdb->prefix . "esp_currency"; $this->_currency_payment_method_table_name = $wpdb->prefix . "esp_currency_payment_method"; $this->_pretty_name = __('Gateways', 'event_espresso'); parent::__construct(); }
function __construct() { $this->_pretty_name = __("Gateways", "event_espresso"); parent::__construct(); }
function __construct() { $this->_pretty_name = __("Venues", "event_espresso"); global $wpdb; $this->_old_table = $wpdb->prefix . "events_venue"; $this->_new_table = $wpdb->posts; $this->_new_meta_table = $wpdb->prefix . "esp_venue_meta"; parent::__construct(); }
function __construct() { global $wpdb; $this->_old_table = $wpdb->prefix . "events_detail"; $this->_old_start_end_table = $wpdb->prefix . "events_start_end"; $this->_new_table = $wpdb->prefix . "posts"; $this->_new_meta_table = $wpdb->prefix . "esp_event_meta"; $this->_new_datetime_table = $wpdb->prefix . "esp_datetime"; $this->_pretty_name = __("Events", "event_espresso"); parent::__construct(); }
function __construct() { $this->_pretty_name = __("Organization Options/Config", "event_espresso"); $this->_org_options_we_know_how_to_migrate = apply_filters('FHEE__EE_DMS_4_1_0_org_options__org_options_we_know_how_to_migrate', $this->_org_options_we_know_how_to_migrate); parent::__construct(); }
function __construct() { $this->_pretty_name = __("Calendar Options", "event_espresso"); $this->_org_options_we_know_how_to_migrate = apply_filters('FHEE__EE_DMS_4_1_0_calendaring_options__org_options_we_know_how_to_migrate', $this->_org_options_we_know_how_to_migrate); parent::__construct(); }
/** * Just initializes the status of the migration */ public function __construct() { $this->_pretty_name = __('Update Invoice Gateway Settings', 'event_espresso'); parent::__construct(); }
/** * Just initializes the status of the migration * * @return EE_DMS_4_9_0_Answers_With_No_Registration */ public function __construct() { $this->_pretty_name = __('Answer Cleanup', 'event_espresso'); parent::__construct(); }
/** * Returns a mysql-formatted DATETIME in UTC time, given a $DATETIME_string * (and optionally a timezone; if none is given, the wp DEFAULT is used) * @param EE_Data_Migration_Script_base $stage * @param array $row_of_data, the row from the DB (as an array) we're trying to find the UTC time for * @param string $DATETIME_string * @param string $timezone * @return string */ public function convert_date_string_to_utc(EE_Data_Migration_Script_Stage $stage, $row_of_data, $DATETIME_string, $timezone = null) { $original_tz = $timezone; if (!$timezone) { $timezone = $this->_get_wp_timezone(); } if (!$timezone) { $stage->add_error(sprintf(__("Could not find timezone given %s for %s", "event_espresso"), $original_tz, $row_of_data)); $timezone = 'UTC'; } try { $date_obj = new DateTime($DATETIME_string, new DateTimeZone($timezone)); $date_obj->setTimezone(new DateTimeZone('UTC')); } catch (Exception $e) { $stage->add_error(sprintf(__("Could not convert time string '%s' using timezone '%s' into a proper DATETIME. Using current time instead.", "event_espresso"), $DATETIME_string, $timezone)); $date_obj = new DateTime(); } return $date_obj->format('Y-m-d H:i:s'); }
/** * Just initializes the status of the migration */ public function __construct() { $this->_pretty_name = __('Update Critical Page Shortcode Tracking', 'event_espresso'); parent::__construct(); }