<?php

if ( !class_exists( 'ICWP_BaseTable.php' ) ) {
	require_once( dirname( __FILE__ ).'/ICWP_BaseTable.php' );
}

class LiveTrafficTable extends ICWP_BaseTable {

	/*
	public function column_payload( $item ) {
		return 'customize';
	} */

	protected function extra_tablenav( $which ) {
		echo sprintf( '<a href="#" data-tableaction="refresh" class="btn tableActionRefresh">%s</a>', _wpsf__( 'Refresh' ) );
	}

	/**
	 * @return array
	 */
	public function get_columns() {
		return array(
			'path'         => 'Page',
			'visitor'      => 'Visitor Details',
			'request_info' => 'Response Info',
			'created_at'   => 'Date',
		);
	}
}