Prado\Web\UI\TControl::getVisible PHP Метод

getVisible() публичный Метод

If parent check is required, then a control is visible only if the control and all its ancestors are visible.
public getVisible ( $checkParents = true ) : boolean
Результат boolean whether the control is visible (default=true).
    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);
        }
    }
TControl