public function setDisabled($disabled)
    {
        if ($disabled) {
            $this->setAttribute('disabled', 'disabled');
        } else {
            $this->removeAttribute('disabled');
        }
        return parent::setDisabled($disabled);
    }
public function setDisabled($disabled)
    {
        if ($disabled) {
            $this->setAttribute('disabled', 'disabled');
        } else {
            $this->removeAttribute('disabled');
        }
        return parent::setDisabled($disabled);
    }
public function setDisabled ( $ disabled ) { if ( $ disabled ) { $ this -> setAttribute ( 'disabled' , 'disabled' ) ; } else { $ this -> removeAttribute ( 'disabled' ) ; } return parent :: setDisabled ( $ disabled ) ; }
Set whether the form element is disabled

@param  boolean $disabled
@return Select
Set whether the form element is disabled