public function finish() {
        if ($this->outputmode == self::NO_OUTPUT) {
            return;
        }

        if ($this->outputmode == self::OUTPUT_HTML) {
            echo html_writer::end_tag('table');
        }
    }
public function finish() {
        if ($this->outputmode == self::NO_OUTPUT) {
            return;
        }

        if ($this->outputmode == self::OUTPUT_HTML) {
            echo html_writer::end_tag('table');
        }
    }
public function finish ( ) { if ( $ this -> outputmode == self :: NO_OUTPUT ) { return ; } if ( $ this -> outputmode == self :: OUTPUT_HTML ) { echo html_writer :: end_tag ( 'table' ) ; } }
Finish the output.

@return void
Finish the output .