$userExtension $userExtension : mixed Protected variable to hold User extension. Type mixed — Default null.
__construct() __construct() MainWP_Monitoring_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 site table 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.
get_columns_defines() get_columns_defines() : array Get column defines. Returns array — $defines Array of defines.
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 Return actions through the mainwp_monitoringsites_bulk_actions filter.
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) Prepair 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 — Table 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.
single_row() single_row(mixed $website) Single row. Parameters mixed $website Object containing the site info.
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 Object containing the site info. boolean $good_health Good site health info.