public function print_table($return=false) {
        ob_start();
        $this->table->print_html();
        $html = ob_get_clean();
        if ($return) {
            return $html;
        } else {
            echo $html;
        }
    }
public function print_table($return=false) {
        ob_start();
        $this->table->print_html();
        $html = ob_get_clean();
        if ($return) {
            return $html;
        } else {
            echo $html;
        }
    }
public function print_table ( $ return = false ) { ob_start ( ) ; $ this -> table -> print_html ( ) ; $ html = ob_get_clean ( ) ; if ( $ return ) { return $ html ; } else { echo $ html ; } }
Prints or returns the HTML from the flexitable.
@param bool $return Whether or not to return the data instead of printing it directly.
@return string
Prints or returns the HTML from the flexitable .