public function __construct()
 {
     $this->load_dependencies();
     $this->db = WPSM_DB_Table::get_instance();
     global $status, $page;
     parent::__construct(array('singular' => 'table', 'plural' => 'tables', 'ajax' => false, 'screen' => $_REQUEST['page']));
 }
 public function rollback()
 {
     $table = WPSM_DB_Table::get_instance();
     $table->drop_table();
 }
function wpsm_get_table($id)
{
    $db = WPSM_DB_Table::get_instance();
    $table = $db->get($id);
    return $table['tvalues'];
}