protected function SorA($v) { if (is_array($v)) { return '"' . implode('", "', $v) . '"'; } else { return '"' . $v . '"'; } }