/**
  * This method is called ONLY after ALL validation has
  * passed.  This is the method that allows you to 
  * do something with the data, say insert/update records
  * in the DB.
  */
 function form_action()
 {
     $success = true;
     $swimmer = new Swimmer();
     $swimmer->PurgeSwimmers();
     $this->set_action_message(html_div(sprintf('ft-%s-msg', $swimmer->getAffectedRows() == 0 ? 'warning' : 'note'), sprintf('%d record%s purged from Swimmers database.', $swimmer->getAffectedRows(), $swimmer->getAffectedRows() == 1 ? '' : 's')));
     unset($swimmer);
     return $success;
 }