public function get_table($ajax = false) {
        if (empty($this->tablelog)) {
            if ($ajax) {
                $this->setup_table_ajax();
            } else {
                $this->setup_table();
            }
        }
        return $this->tablelog;
    }
public function get_table($ajax = false) {
        if (empty($this->tablelog)) {
            if ($ajax) {
                $this->setup_table_ajax();
            } else {
                $this->setup_table();
            }
        }
        return $this->tablelog;
    }
public function get_table ( $ ajax = false ) { if ( empty ( $ this -> tablelog ) ) { if ( $ ajax ) { $ this -> setup_table_ajax ( ) ; } else { $ this -> setup_table ( ) ; } } return $ this -> tablelog ; }
Setup table and return it.

@param bool $ajax If set to true report_loglive_table_log_ajax is set instead of report_loglive_table_log.

@return report_loglive_table_log|report_loglive_table_log_ajax table object
Setup table and return it .