original_string: public static function educational_level_options($any = false) {
          $options = array();
          if ($any) {
              $options['all'] = get_string('any');
          }
          $options[self::HUB_EDULEVEL_PRIMARY] = get_string('edulevelprimary', 'hub');
          $options[self::HUB_EDULEVEL_SECONDARY] = get_string('edulevelsecondary', 'hub');
          $options[self::HUB_EDULEVEL_TERTIARY] = get_string('eduleveltertiary', 'hub');
          $options[self::HUB_EDULEVEL_GOVERNMENT] = get_string('edulevelgovernment', 'hub');
          $options[self::HUB_EDULEVEL_ASSOCIATION] = get_string('edulevelassociation', 'hub');
          $options[self::HUB_EDULEVEL_CORPORATE] = get_string('edulevelcorporate', 'hub');
          $options[self::HUB_EDULEVEL_OTHER] = get_string('edulevelother', 'hub');
          return $options;
      }
code: public static function educational_level_options($any = false) {
          $options = array();
          if ($any) {
              $options['all'] = get_string('any');
          }
          $options[self::HUB_EDULEVEL_PRIMARY] = get_string('edulevelprimary', 'hub');
          $options[self::HUB_EDULEVEL_SECONDARY] = get_string('edulevelsecondary', 'hub');
          $options[self::HUB_EDULEVEL_TERTIARY] = get_string('eduleveltertiary', 'hub');
          $options[self::HUB_EDULEVEL_GOVERNMENT] = get_string('edulevelgovernment', 'hub');
          $options[self::HUB_EDULEVEL_ASSOCIATION] = get_string('edulevelassociation', 'hub');
          $options[self::HUB_EDULEVEL_CORPORATE] = get_string('edulevelcorporate', 'hub');
          $options[self::HUB_EDULEVEL_OTHER] = get_string('edulevelother', 'hub');
          return $options;
      }
code_tokens: public static function educational_level_options ( $ any = false ) { $ options = array ( ) ; if ( $ any ) { $ options [ 'all' ] = get_string ( 'any' ) ; } $ options [ self :: HUB_EDULEVEL_PRIMARY ] = get_string ( 'edulevelprimary' , 'hub' ) ; $ options [ self :: HUB_EDULEVEL_SECONDARY ] = get_string ( 'edulevelsecondary' , 'hub' ) ; $ options [ self :: HUB_EDULEVEL_TERTIARY ] = get_string ( 'eduleveltertiary' , 'hub' ) ; $ options [ self :: HUB_EDULEVEL_GOVERNMENT ] = get_string ( 'edulevelgovernment' , 'hub' ) ; $ options [ self :: HUB_EDULEVEL_ASSOCIATION ] = get_string ( 'edulevelassociation' , 'hub' ) ; $ options [ self :: HUB_EDULEVEL_CORPORATE ] = get_string ( 'edulevelcorporate' , 'hub' ) ; $ options [ self :: HUB_EDULEVEL_OTHER ] = get_string ( 'edulevelother' , 'hub' ) ; return $ options ; }
docstring: List of available educational levels
  
  @param bool $any add option for "Any" (for search forms)
  @return array
docstring_tokens: List of available educational levels