public function getVisible($checkParents = true)
{
if ($checkParents) {
for ($control = $this; $control; $control = $control->_parent) {
if (!$control->getVisible(false)) {
return false;
}
}
return true;
} else {
return $this->getViewState('Visible', true);
}
}