public function grid_start($id = null, $class = null) {
        $gridclass = 'grid-start grid-row-r d-flex flex-wrap row';
        if (is_null($class)) {
            $class = $gridclass;
        } else {
            $class .= ' ' . $gridclass;
        }
        $attributes = array();
        if (!is_null($id)) {
            $attributes['id'] = $id;
        }
        return html_writer::start_div($class, $attributes);
    }
public function grid_start($id = null, $class = null) {
        $gridclass = 'grid-start grid-row-r d-flex flex-wrap row';
        if (is_null($class)) {
            $class = $gridclass;
        } else {
            $class .= ' ' . $gridclass;
        }
        $attributes = array();
        if (!is_null($id)) {
            $attributes['id'] = $id;
        }
        return html_writer::start_div($class, $attributes);
    }
public function grid_start ( $ id = null , $ class = null ) { $ gridclass = 'grid-start grid-row-r d-flex flex-wrap row' ; if ( is_null ( $ class ) ) { $ class = $ gridclass ; } else { $ class .= ' ' . $ gridclass ; } $ attributes = array ( ) ; if ( ! is_null ( $ id ) ) { $ attributes [ 'id' ] = $ id ; } return html_writer :: start_div ( $ class , $ attributes ) ; }
Opens a grid.

Call {@link core_course_management_renderer::grid_column_start()} to create columns.

@param string $id An id to give this grid.
@param string $class A class to give this grid.
@return string
Opens a grid .