Prado\Web\UI\ActiveControls\TCallbackPageStateTracker::updateVisible PHP Метод

updateVisible() защищенный Метод

Hides or shows the control on the client-side. The control must be already rendered on the client-side.
protected updateVisible ( $visible )
    protected function updateVisible($visible)
    {
        if ($visible === false) {
            $this->client()->replaceContent($this->_control, "<span id=\"" . $this->_control->getClientID() . "\" style=\"display:none\" ></span>");
        } else {
            $this->client()->replaceContent($this->_control, $this->_control);
        }
    }