original_string: public function get_left_icons_row($rows=array(), $colspan=1) {
          global $USER;
  
          if ($USER->gradeediting[$this->courseid]) {
              $controlsrow = new html_table_row();
              $controlsrow->attributes['class'] = 'controls';
              $controlscell = new html_table_cell();
              $controlscell->attributes['class'] = 'header controls';
              $controlscell->colspan = $colspan;
              $controlscell->text = $this->get_lang_string('controls', 'grades');
  
              $controlsrow->cells[] = $controlscell;
              $rows[] = $controlsrow;
          }
          return $rows;
      }
code: public function get_left_icons_row($rows=array(), $colspan=1) {
          global $USER;
  
          if ($USER->gradeediting[$this->courseid]) {
              $controlsrow = new html_table_row();
              $controlsrow->attributes['class'] = 'controls';
              $controlscell = new html_table_cell();
              $controlscell->attributes['class'] = 'header controls';
              $controlscell->colspan = $colspan;
              $controlscell->text = $this->get_lang_string('controls', 'grades');
  
              $controlsrow->cells[] = $controlscell;
              $rows[] = $controlsrow;
          }
          return $rows;
      }
code_tokens: public function get_left_icons_row ( $ rows = array ( ) , $ colspan = 1 ) { global $ USER ; if ( $ USER -> gradeediting [ $ this -> courseid ] ) { $ controlsrow = new html_table_row ( ) ; $ controlsrow -> attributes [ 'class' ] = 'controls' ; $ controlscell = new html_table_cell ( ) ; $ controlscell -> attributes [ 'class' ] = 'header controls' ; $ controlscell -> colspan = $ colspan ; $ controlscell -> text = $ this -> get_lang_string ( 'controls' , 'grades' ) ; $ controlsrow -> cells [ ] = $ controlscell ; $ rows [ ] = $ controlsrow ; } return $ rows ; }
docstring: Builds and return the row of icons for the left side of the report.
  It only has one cell that says "Controls"
  @param array $rows The Array of rows for the left part of the report
  @param int $colspan The number of columns this cell has to span
  @return array Array of rows for the left part of the report
docstring_tokens: Builds and return the row of icons for the left side of the report . It only has one cell that says Controls