/**
  * 	get list of registration statuses
  * @access private
  * @param array $exclude
  * @return array
  */
 private function _get_registration_status_array($exclude = array())
 {
     //in the very rare circumstance that we are deleting a model's table's data
     //and the table hasn't actually been created, this could have an error
     /** @type WPDB $wpdb */
     global $wpdb;
     EE_Registry::instance()->load_helper('Activation');
     if (EEH_Activation::table_exists($wpdb->prefix . 'esp_status')) {
         $SQL = 'SELECT STS_ID, STS_code FROM ' . $wpdb->prefix . 'esp_status WHERE STS_type = "registration"';
         $results = $wpdb->get_results($SQL);
         self::$_reg_status = array();
         foreach ($results as $status) {
             if (!in_array($status->STS_ID, $exclude)) {
                 self::$_reg_status[$status->STS_ID] = $status->STS_code;
             }
         }
     }
 }