function SetButtonAttribute($optValue, $attribute, $value) {
        if (!isset($this->fieldAttributes[$optValue])) {
            $this->fieldAttributes[$optValue] = array();
        }
        $this->fieldAttributes[$optValue][$attribute] = $value;
    }
function SetButtonAttribute($optValue, $attribute, $value) {
        if (!isset($this->fieldAttributes[$optValue])) {
            $this->fieldAttributes[$optValue] = array();
        }
        $this->fieldAttributes[$optValue][$attribute] = $value;
    }
function SetButtonAttribute ( $ optValue , $ attribute , $ value ) { if ( ! isset ( $ this -> fieldAttributes [ $ optValue ] ) ) { $ this -> fieldAttributes [ $ optValue ] = array ( ) ; } $ this -> fieldAttributes [ $ optValue ] [ $ attribute ] = $ value ; }
Sets an attribute directly to a single radio button
@param string $optValue The value of the desired checkbox
@param string $attribute
@param string $value the value
Sets an attribute directly to a single radio button