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

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

public setEnableTheming ( $value )
    public function setEnableTheming($value)
    {
        if ($this->_stage >= self::CS_CHILD_INITIALIZED) {
            throw new TInvalidOperationException('control_enabletheming_unchangeable', get_class($this), $this->getUniqueID());
        } else {
            if (TPropertyValue::ensureBoolean($value)) {
                $this->_flags &= ~self::IS_DISABLE_THEMING;
            } else {
                $this->_flags |= self::IS_DISABLE_THEMING;
            }
        }
    }
TControl