original_string: public static function audience_options($any = false) {
          $options = array();
          if ($any) {
              $options['all'] = get_string('any');
          }
          $options[self::HUB_AUDIENCE_EDUCATORS] = get_string('audienceeducators', 'hub');
          $options[self::HUB_AUDIENCE_STUDENTS] = get_string('audiencestudents', 'hub');
          $options[self::HUB_AUDIENCE_ADMINS] = get_string('audienceadmins', 'hub');
          return $options;
      }
code: public static function audience_options($any = false) {
          $options = array();
          if ($any) {
              $options['all'] = get_string('any');
          }
          $options[self::HUB_AUDIENCE_EDUCATORS] = get_string('audienceeducators', 'hub');
          $options[self::HUB_AUDIENCE_STUDENTS] = get_string('audiencestudents', 'hub');
          $options[self::HUB_AUDIENCE_ADMINS] = get_string('audienceadmins', 'hub');
          return $options;
      }
code_tokens: public static function audience_options ( $ any = false ) { $ options = array ( ) ; if ( $ any ) { $ options [ 'all' ] = get_string ( 'any' ) ; } $ options [ self :: HUB_AUDIENCE_EDUCATORS ] = get_string ( 'audienceeducators' , 'hub' ) ; $ options [ self :: HUB_AUDIENCE_STUDENTS ] = get_string ( 'audiencestudents' , 'hub' ) ; $ options [ self :: HUB_AUDIENCE_ADMINS ] = get_string ( 'audienceadmins' , 'hub' ) ; return $ options ; }
docstring: List of available audience options
  
  @param bool $any add option for "Any" (for search forms)
  @return array
docstring_tokens: List of available audience options