/** * Outputs the Form with the correct fields * * @param string $location * * @return type */ private static function form($location = 'general') { // Get Form Fields switch ($location) { default: case 'general': $fields = self::get_settings_fields(); break; case 'advanced': $fields = self::get_settings_fields('advanced'); break; } GRAV_TESTER_PLUGIN_SETTINGS::get_form($fields); }