original_string: public static function get_edulevel_string($edulevel) {
          switch ($edulevel) {
              case \core\event\base::LEVEL_PARTICIPATING:
                  return get_string('participating', 'report_eventlist');
                  break;
  
              case \core\event\base::LEVEL_TEACHING:
                  return get_string('teaching', 'report_eventlist');
                  break;
  
              case \core\event\base::LEVEL_OTHER:
              default:
                  return get_string('other', 'report_eventlist');
                  break;
          }
      }
code: public static function get_edulevel_string($edulevel) {
          switch ($edulevel) {
              case \core\event\base::LEVEL_PARTICIPATING:
                  return get_string('participating', 'report_eventlist');
                  break;
  
              case \core\event\base::LEVEL_TEACHING:
                  return get_string('teaching', 'report_eventlist');
                  break;
  
              case \core\event\base::LEVEL_OTHER:
              default:
                  return get_string('other', 'report_eventlist');
                  break;
          }
      }
code_tokens: public static function get_edulevel_string ( $ edulevel ) { switch ( $ edulevel ) { case \ core \ event \ base :: LEVEL_PARTICIPATING : return get_string ( 'participating' , 'report_eventlist' ) ; break ; case \ core \ event \ base :: LEVEL_TEACHING : return get_string ( 'teaching' , 'report_eventlist' ) ; break ; case \ core \ event \ base :: LEVEL_OTHER : default : return get_string ( 'other' , 'report_eventlist' ) ; break ; } }
docstring: Returns the appropriate string for the event education level.
  
  @param int $edulevel Takes either the edulevel constant or string.
  @return string get_string for the specific education level.
docstring_tokens: Returns the appropriate string for the event education level .