function run() { if (isset($_REQUEST['delete']) && is_numeric($_REQUEST['delete'])) { // Delete the selected element $this->deleteRecord($_REQUEST['delete']); } parent::run(); }
function formatColumn($column) { if ($column == 'pass') { return 'Password'; } elseif ($column == 'name') { return 'User Name'; } elseif ($column == 'last_login_datetime') { return 'Last Login Date+Time'; } else { return parent::formatColumn($column); } }