original_string: public function render_preferences_group(preferences_group $renderable) {
          $html = '';
          $html .= html_writer::start_tag('div', array('class' => 'col-sm-4 preferences-group'));
          $html .= $this->heading($renderable->title, 3);
          $html .= html_writer::start_tag('ul');
          foreach ($renderable->nodes as $node) {
              if ($node->has_children()) {
                  debugging('Preferences nodes do not support children', DEBUG_DEVELOPER);
              }
              $html .= html_writer::tag('li', $this->render($node));
          }
          $html .= html_writer::end_tag('ul');
          $html .= html_writer::end_tag('div');
          return $html;
      }
code: public function render_preferences_group(preferences_group $renderable) {
          $html = '';
          $html .= html_writer::start_tag('div', array('class' => 'col-sm-4 preferences-group'));
          $html .= $this->heading($renderable->title, 3);
          $html .= html_writer::start_tag('ul');
          foreach ($renderable->nodes as $node) {
              if ($node->has_children()) {
                  debugging('Preferences nodes do not support children', DEBUG_DEVELOPER);
              }
              $html .= html_writer::tag('li', $this->render($node));
          }
          $html .= html_writer::end_tag('ul');
          $html .= html_writer::end_tag('div');
          return $html;
      }
code_tokens: public function render_preferences_group ( preferences_group $ renderable ) { $ html = '' ; $ html .= html_writer :: start_tag ( 'div' , array ( 'class' => 'col-sm-4 preferences-group' ) ) ; $ html .= $ this -> heading ( $ renderable -> title , 3 ) ; $ html .= html_writer :: start_tag ( 'ul' ) ; foreach ( $ renderable -> nodes as $ node ) { if ( $ node -> has_children ( ) ) { debugging ( 'Preferences nodes do not support children' , DEBUG_DEVELOPER ) ; } $ html .= html_writer :: tag ( 'li' , $ this -> render ( $ node ) ) ; } $ html .= html_writer :: end_tag ( 'ul' ) ; $ html .= html_writer :: end_tag ( 'div' ) ; return $ html ; }
docstring: Renders preferences group.
  
  @param  preferences_group $renderable The renderable
  @return string The output.
docstring_tokens: Renders preferences group .