for ($i = 1; $i <= $this->maxlickert; $i++) {
            if ($i == $this->maxlickert) {
                $defaults[$i] = get_string(self::STRATEGYID . '_rating_biggestwish', ratingallocate_MOD_NAME, "{$i}");
            } else {
                $defaults[$i] = $i;
            }
        }
        return $defaults;
    }
    protected function getValidationInfo()
    {
        return array(self::MAXNO => array(true, 0), self::COUNTLICKERT => array(true, 2));
    }
}
// register with the strategymanager
\strategymanager::add_strategy(strategy::STRATEGYID);
class mod_ratingallocate_view_form extends \ratingallocate_options_strategyform
{
    //Already specified by parent class
    protected function construct_strategy($strategyoptions)
    {
        return new strategy($strategyoptions);
    }
    public function get_choiceoptions()
    {
        $params = $this->get_strategysetting(strategy::COUNTLICKERT);
        return $this->get_strategy()->get_choiceoptions($params);
    }
    protected function get_max_amount_of_nos()
    {
        return $this->get_strategysetting(strategy::MAXNO);