public function col_select($expiredctx) {
        $id = $expiredctx->get('id');
        return html_writer::checkbox('expiredcontext_' . $id, $id, $this->selectall, '', ['class' => 'selectcontext']);
    }
public function col_select($expiredctx) {
        $id = $expiredctx->get('id');
        return html_writer::checkbox('expiredcontext_' . $id, $id, $this->selectall, '', ['class' => 'selectcontext']);
    }
public function col_select ( $ expiredctx ) { $ id = $ expiredctx -> get ( 'id' ) ; return html_writer :: checkbox ( 'expiredcontext_' . $ id , $ id , $ this -> selectall , '' , [ 'class' => 'selectcontext' ] ) ; }
Generate the select column.

@param stdClass $expiredctx The row data.
@return string
Generate the select column .