1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24:
<?php
namespace WPGMZA;
class MarkerDataTable extends DataTable
{
public function __construct($ajax_parameters=null, $datatable_options=null)
{
global $wpdb;
DataTable::__construct("{$wpdb->prefix}wpgmza", $ajax_parameters, $datatable_options);
}
protected function getColumns()
{
return array(
'title' => __('Title', 'wp-google-maps'),
'category' => __('Category', 'wp-google-maps'),
'address' => __('Address', 'wp-google-maps'),
'description' => __('Description', 'wp-google-maps')
);
}
}