\MainWP\DashboardMainWP_Manage_Non_MainWP_Changes_List_Table

Class MainWP_Manage_Non_MainWP_Changes_List_Table

Summary

Methods
Properties
Constants
__construct()
get_sortable_columns()
get_default_columns()
print_column_headers()
get_columns()
get_columns_init()
get_columns_defines()
prepare_items()
ajax_get_datatable_rows()
display()
clear_items()
$items
$total_items
No constants found
get_default_primary_column_name()
get_column_info()
$column_headers
N/A
No private methods found
No private properties found
N/A

Properties

$items

$items : array

Public variable to hold Items information.

Type

array

$total_items

$total_items : integer

Public variable to hold total items number.

Type

integer

$column_headers

$column_headers : array

Protected variable to hold columns headers

Type

array

Methods

__construct()

__construct() 

MainWP_Manage_Sites_List_Table constructor.

Run each time the class is called. Add action to generate tabletop.

get_sortable_columns()

get_sortable_columns() : array

Get sortable columns.

Returns

array —

$sortable_columns Array of sortable column names.

get_default_columns()

get_default_columns() : array

Get default columns.

Returns

array —

Array of default column names.

print_column_headers()

print_column_headers(boolean  $optimize, boolean  $top = true) 

Echo the column headers.

Parameters

boolean $optimize

true|false Whether or not to optimise.

boolean $top

true|false.

get_columns()

get_columns() : array

Method get_columns()

Combine all columns.

Returns

array —

$columns Array of column names.

get_columns_init()

get_columns_init() : array

Instantiate Columns.

Returns

array —

$init_cols

get_columns_defines()

get_columns_defines() : array

Get column defines.

Returns

array —

$defines

prepare_items()

prepare_items() 

Prepare the items to be listed.

ajax_get_datatable_rows()

ajax_get_datatable_rows() : array

Get table rows.

Optimize for shared hosting or big networks.

Returns

array —

Rows html.

display()

display(boolean  $optimize = true) 

Display the table.

Parameters

boolean $optimize

true|false Whether or not to optimize.

get_default_primary_column_name()

get_default_primary_column_name() : string

Get the default primary column name.

Returns

string —

Child Site name.

get_column_info()

get_column_info() 

Get column info.