public function getValues($asArray = FALSE)
{
$values = $asArray ? [] : new Nette\Utils\ArrayHash();
foreach ($this->getComponents() as $name => $control) {
if ($control instanceof IControl && !$control->isOmitted()) {
$values[$name] = $control->getValue();
} elseif ($control instanceof self) {
$values[$name] = $control->getValues($asArray);
}
}
return $values;
}