protected function load_config() {
        global $DB;

        if (!$config = $DB->get_record('workshopform_rubric_config', array('workshopid' => $this->workshop->id), 'layout')) {
            $config = (object)array('layout' => 'list');
        }
        return $config;
    }
protected function load_config() {
        global $DB;

        if (!$config = $DB->get_record('workshopform_rubric_config', array('workshopid' => $this->workshop->id), 'layout')) {
            $config = (object)array('layout' => 'list');
        }
        return $config;
    }
protected function load_config ( ) { global $ DB ; if ( ! $ config = $ DB -> get_record ( 'workshopform_rubric_config' , array ( 'workshopid' => $ this -> workshop -> id ) , 'layout' ) ) { $ config = ( object ) array ( 'layout' => 'list' ) ; } return $ config ; }
Get the configuration for the current rubric strategy

@return object
Get the configuration for the current rubric strategy