public static function get_bands_labels($bands, $bandwidth, $quiz) {
        $bandlabels = [];
        for ($i = 1; $i <= $bands; $i++) {
            $bandlabels[] = quiz_format_grade($quiz, ($i - 1) * $bandwidth) . ' - ' . quiz_format_grade($quiz, $i * $bandwidth);
        }
        return $bandlabels;
    }
public static function get_bands_labels($bands, $bandwidth, $quiz) {
        $bandlabels = [];
        for ($i = 1; $i <= $bands; $i++) {
            $bandlabels[] = quiz_format_grade($quiz, ($i - 1) * $bandwidth) . ' - ' . quiz_format_grade($quiz, $i * $bandwidth);
        }
        return $bandlabels;
    }
public static function get_bands_labels ( $ bands , $ bandwidth , $ quiz ) { $ bandlabels = [ ] ; for ( $ i = 1 ; $ i <= $ bands ; $ i ++ ) { $ bandlabels [ ] = quiz_format_grade ( $ quiz , ( $ i - 1 ) * $ bandwidth ) . ' - ' . quiz_format_grade ( $ quiz , $ i * $ bandwidth ) ; } return $ bandlabels ; }
Get the bands labels.

@param int $bands The number of bands.
@param int $bandwidth The band width.
@param object $quiz The quiz object.
@return string[] The labels.
Get the bands labels .