Prado\Web\UI\ActiveControls\TActiveCheckBox::setText PHP Метод

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

Updates the button text on the client-side if the {@link setEnableUpdate EnableUpdate} property is set to true.
public setText ( $value )
    public function setText($value)
    {
        if (parent::getText() === $value) {
            return;
        }
        parent::setText($value);
        if ($this->getActiveControl()->canUpdateClientSide()) {
            $this->getPage()->getCallbackClient()->update($this->getDefaultLabelID(), $value);
        }
    }