original_string: public function grid_column_start($size, $id = null, $class = null) {
  
          if ($id == 'course-detail') {
              $size = 12;
              $bootstrapclass = 'col-md-'.$size;
          } else {
              $bootstrapclass = 'd-flex flex-wrap px-3 mb-3';
          }
  
          $yuigridclass = "col-sm";
  
          if (is_null($class)) {
              $class = $yuigridclass . ' ' . $bootstrapclass;
          } else {
              $class .= ' ' . $yuigridclass . ' ' . $bootstrapclass;
          }
          $attributes = array();
          if (!is_null($id)) {
              $attributes['id'] = $id;
          }
          return html_writer::start_div($class . " grid_column_start", $attributes);
      }
code: public function grid_column_start($size, $id = null, $class = null) {
  
          if ($id == 'course-detail') {
              $size = 12;
              $bootstrapclass = 'col-md-'.$size;
          } else {
              $bootstrapclass = 'd-flex flex-wrap px-3 mb-3';
          }
  
          $yuigridclass = "col-sm";
  
          if (is_null($class)) {
              $class = $yuigridclass . ' ' . $bootstrapclass;
          } else {
              $class .= ' ' . $yuigridclass . ' ' . $bootstrapclass;
          }
          $attributes = array();
          if (!is_null($id)) {
              $attributes['id'] = $id;
          }
          return html_writer::start_div($class . " grid_column_start", $attributes);
      }
code_tokens: public function grid_column_start ( $ size , $ id = null , $ class = null ) { if ( $ id == 'course-detail' ) { $ size = 12 ; $ bootstrapclass = 'col-md-' . $ size ; } else { $ bootstrapclass = 'd-flex flex-wrap px-3 mb-3' ; } $ yuigridclass = "col-sm" ; if ( is_null ( $ class ) ) { $ class = $ yuigridclass . ' ' . $ bootstrapclass ; } else { $ class .= ' ' . $ yuigridclass . ' ' . $ bootstrapclass ; } $ attributes = array ( ) ; if ( ! is_null ( $ id ) ) { $ attributes [ 'id' ] = $ id ; } return html_writer :: start_div ( $ class . " grid_column_start" , $ attributes ) ; }
docstring: Opens a grid column
  
  @param int $size The number of segments this column should span.
  @param string $id An id to give the column.
  @param string $class A class to give the column.
  @return string
docstring_tokens: Opens a grid column