original_string: public function render_digest_options($forum, $value) {
          $options = forum_get_user_digest_options();
          $editable = new \core\output\inplace_editable(
              'mod_forum',
              'digestoptions',
              $forum->id,
              true,
              $options[$value],
              $value
          );
  
          $editable->set_type_select($options);
  
          return $editable;
      }
code: public function render_digest_options($forum, $value) {
          $options = forum_get_user_digest_options();
          $editable = new \core\output\inplace_editable(
              'mod_forum',
              'digestoptions',
              $forum->id,
              true,
              $options[$value],
              $value
          );
  
          $editable->set_type_select($options);
  
          return $editable;
      }
code_tokens: public function render_digest_options ( $ forum , $ value ) { $ options = forum_get_user_digest_options ( ) ; $ editable = new \ core \ output \ inplace_editable ( 'mod_forum' , 'digestoptions' , $ forum -> id , true , $ options [ $ value ] , $ value ) ; $ editable -> set_type_select ( $ options ) ; return $ editable ; }
docstring: Create the inplace_editable used to select forum digest options.
  
  @param   stdClass    $forum  The forum to create the editable for.
  @param   int         $value  The current value for this user
  @return  inplace_editable
docstring_tokens: Create the inplace_editable used to select forum digest options .