private function get_number_of_questions_to_add_choices() {
        $maxrand = 100;
        $randomcount = array();
        for ($i = 1; $i <= min(10, $maxrand); $i++) {
            $randomcount[$i] = $i;
        }
        for ($i = 20; $i <= min(100, $maxrand); $i += 10) {
            $randomcount[$i] = $i;
        }
        return $randomcount;
    }
private function get_number_of_questions_to_add_choices() {
        $maxrand = 100;
        $randomcount = array();
        for ($i = 1; $i <= min(10, $maxrand); $i++) {
            $randomcount[$i] = $i;
        }
        for ($i = 20; $i <= min(100, $maxrand); $i += 10) {
            $randomcount[$i] = $i;
        }
        return $randomcount;
    }
private function get_number_of_questions_to_add_choices ( ) { $ maxrand = 100 ; $ randomcount = array ( ) ; for ( $ i = 1 ; $ i <= min ( 10 , $ maxrand ) ; $ i ++ ) { $ randomcount [ $ i ] = $ i ; } for ( $ i = 20 ; $ i <= min ( 100 , $ maxrand ) ; $ i += 10 ) { $ randomcount [ $ i ] = $ i ; } return $ randomcount ; }
Return an arbitrary array for the dropdown menu
@return array of integers array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100)
Return an arbitrary array for the dropdown menu