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