$userExtension $userExtension : mixed Protected variable to hold User extension. Type mixed — Default null.
__construct() __construct() MainWP_Client_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 Gets 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 Return actions through the mainwp_manageclients_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 = false) Prepair the items to be listed. Parameters boolean $optimize true|false Whether or not to optimize.
display() display(boolean $optimize = false) 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 optimize. 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.
single_row() single_row(mixed $item) Single row. Parameters mixed $item Object containing the client 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 $item, boolean $compatible = true) Columns for a single row. Parameters mixed $item Object containing the client info. boolean $compatible to compatible param - DO NOT remove.