public function Values($values)
{
$this->values = array();
$v = func_get_args();
if (count($v) == 1) {
$v = array_shift($v);
}
if (is_array($v)) {
reset($v);
$first_key = key($v);
if (!is_null($first_key) && is_array($v[$first_key])) {
foreach ($v as $data_set) {
$this->values[] = $data_set;
}
return;
}
}
$this->values[] = $v;
}