/** * @return bool * @param bool $b_enabled * @desc Sets whether the XhtmlSelect is enabled */ function SetEnabled($b_enabled) { if ($b_enabled) { $this->o_select->RemoveAttribute('disabled'); } else { $this->o_select->AddAttribute('disabled', 'disabled'); } }