original_string: public function get_group_picture(\renderer_base $renderer) {
          if (isset($this->userfrom->groups)) {
              $groups = $this->userfrom->groups[$this->forum->id];
          } else {
              $groups = groups_get_all_groups($this->course->id, $this->author->id, $this->cm->groupingid);
          }
  
          if ($this->get_is_firstpost()) {
              return print_group_picture($groups, $this->course->id, false, true, true, true);
          }
      }
code: public function get_group_picture(\renderer_base $renderer) {
          if (isset($this->userfrom->groups)) {
              $groups = $this->userfrom->groups[$this->forum->id];
          } else {
              $groups = groups_get_all_groups($this->course->id, $this->author->id, $this->cm->groupingid);
          }
  
          if ($this->get_is_firstpost()) {
              return print_group_picture($groups, $this->course->id, false, true, true, true);
          }
      }
code_tokens: public function get_group_picture ( \ renderer_base $ renderer ) { if ( isset ( $ this -> userfrom -> groups ) ) { $ groups = $ this -> userfrom -> groups [ $ this -> forum -> id ] ; } else { $ groups = groups_get_all_groups ( $ this -> course -> id , $ this -> author -> id , $ this -> cm -> groupingid ) ; } if ( $ this -> get_is_firstpost ( ) ) { return print_group_picture ( $ groups , $ this -> course -> id , false , true , true , true ) ; } }
docstring: The HTML for a group picture.
  
  @param   \renderer_base $renderer
  @return string
docstring_tokens: The HTML for a group picture .