$userExtension $userExtension : mixed Protected variable to hold User extension. Type mixed — Default null.
__construct() __construct() MainWP_Manage_Sites_List_Table constructor. Run each time the class is called. Add action to generate tabletop.
column_backup() column_backup(mixed $item) : mixed Method column_backup() Backup Column. Parameters mixed $item List of backups. Returns mixed — $backupnow_lnk.
column_site_preview() column_site_preview(mixed $item) : mixed Method column_site_preview() Site preview column. Parameters mixed $item List of backups. Returns mixed — preview content.
column_default() column_default(mixed $item, string $column_name) : string Set the column names. Parameters mixed $item MainWP Sitetable Item. string $column_name Column name to use. Returns string — Column Name.
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.
get_columns() get_columns() : array Method get_columns() Combine all columns. Returns array — $columns Array of column names.
generate_tabletop() generate_tabletop() Method generate_tabletop() Run the render_manage_sites_table_top menthod.
get_bulk_actions() get_bulk_actions() : array Create Bulk Actions Drop Down. Returns array — $actions Available bulk actions.
render_page_navigation_left_items() render_page_navigation_left_items() Method render_page_navigation_left_items() Render page navigation left items.
prepare_items() prepare_items(boolean $optimize = true) Prepare the items to be listed. Parameters boolean $optimize true|false Whether or not to optimize.
display() display(boolean $optimize = true) Display the table. Parameters boolean $optimize true|false Whether or not to optimize.
get_column_count() get_column_count() : integer Get the column count. Returns integer — Column Count.
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.
ajax_get_datatable_rows() ajax_get_datatable_rows() : array Get table rows. Optimize for shared hosting or big networks. Returns array — Rows html.
get_groups_classes() get_groups_classes(array $item) : mixed Get groups classes row. Parameters array $item Array containing child site data. Returns mixed — Single Row Classes Item.
get_default_primary_column_name() get_default_primary_column_name() : string Get the default primary column name. Returns string — Child Site name.
single_row_columns() single_row_columns(mixed $website, boolean $good_health = false) Columns for a single row. Parameters mixed $website Child Site. boolean $good_health Good site health info.