src/Forms/OptionsetField.php
protected function getOptionClass($value, $odd)
    {
        $oddClass = $odd ? 'odd' : 'even';
        $valueClass = ' val' . Convert::raw2htmlid($value);
        return $oddClass . $valueClass;
    }
protected function getOptionClass($value, $odd)
    {
        $oddClass = $odd ? 'odd' : 'even';
        $valueClass = ' val' . Convert::raw2htmlid($value);
        return $oddClass . $valueClass;
    }
protected function getOptionClass ( $ value , $ odd ) { $ oddClass = $ odd ? 'odd' : 'even' ; $ valueClass = ' val' . Convert :: raw2htmlid ( $ value ) ; return $ oddClass . $ valueClass ; }
Get extra classes for each item in the list

@param string $value Value of this item
@param bool $odd If this item is odd numbered in the list
@return string
Get extra classes for each item in the list