/** * work out any post data and set the database record in the config table */ protected function handle_post() { foreach ($_POST as $setting => $vals) { CmsConfiguration::set($setting, $vals); } }