LLMS_Admin_Table::get_table_html()
Get the HTML for the entire table.
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
public function get_table_html() { $classes = $this->get_table_classes(); ob_start(); ?> <div class="llms-table-wrap"> <header class="llms-table-header"> <?php echo $this->get_table_title_html(); ?> <?php if ( $this->is_searchable ) : ?> <?php echo $this->get_table_search_form_html(); ?> <?php endif; ?> <?php if ( $this->is_filterable ) : ?> <?php echo $this->get_table_filters_html(); ?> <?php endif; ?> </header> <table class="<?php echo implode( ' ', $classes ); ?>" data-args='<?php echo json_encode( $this->get_args() ); ?>' data-handler="<?php echo $this->get_handler(); ?>" id="llms-gb-table-<?php echo $this->id; ?>" > <?php echo $this->get_thead_html(); ?> <?php echo $this->get_tbody_html(); ?> <?php echo $this->get_tfoot_html(); ?> </table> </div> <?php return ob_get_clean(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.7 | Use correct argument order for implode to fix php 7.4 deprecation. |
3.2.0 | |
3.17.8 | Introduced. |