MySLP_Cron_List_Table
extends WP_List_Table
in package
Define and display the customer lists here
Table of Contents
Properties
- $settings : mixed
- $total_accounts : mixed
- $total_payments : mixed
Methods
- __construct() : mixed
- Start me up.
- ajax_user_can() : bool
- column_cb() : string
- Add checkbox for multi select bulk action
- column_cronjobs() : string
- Cron Jobs Output
- column_name() : string
- Add actionable link under Name data for View and Delete
- column_status() : string
- Status column.
- filterOutSLPDotGuru() : mixed
- Filter out SLP dot Guru accounts.
- get_bulk_actions() : array<string|int, mixed>
- Get Bulk Actions
- get_columns() : mixed
- Determine table column
- get_hidden_columns() : mixed
- Get hidden columns. Blank for now
- get_sortable_columns() : mixed
- Make our column sortable.
- no_items() : void
- Set message if table has no data
- prepare_items() : void
- Determine table column
- single_row() : mixed
- Generates content for a single row of the table
- display_tablenav() : mixed
- Display standard table footer nav AND our summary data.
- pagination() : mixed
- get_cron_jobs() : string
- Get the cron jobs for this user.
- get_data() : mixed
- Get data to populate our table
- handle_bulk_actions() : mixed
- Handle bulk actions.
- set_vars() : mixed
- Set variables that make this table do different things.
Properties
$settings
private
mixed
$settings
$total_accounts
private
mixed
$total_accounts
= 0
$total_payments
private
mixed
$total_payments
= 0
Methods
__construct()
Start me up.
public
__construct() : mixed
..
ajax_user_can()
public
ajax_user_can() : bool
Return values
boolcolumn_cb()
Add checkbox for multi select bulk action
public
column_cb(array<string|int, mixed> $item) : string
Parameters
- $item : array<string|int, mixed>
Return values
stringcolumn_cronjobs()
Cron Jobs Output
public
column_cronjobs(array<string|int, mixed> $item) : string
Parameters
- $item : array<string|int, mixed>
Return values
stringcolumn_name()
Add actionable link under Name data for View and Delete
public
column_name(array<string|int, mixed> $item) : string
Parameters
- $item : array<string|int, mixed>
Return values
stringcolumn_status()
Status column.
public
column_status(mixed $item) : string
Parameters
- $item : mixed
Return values
stringfilterOutSLPDotGuru()
Filter out SLP dot Guru accounts.
public
filterOutSLPDotGuru(WP_User_Query $wpUserQuery) : mixed
Parameters
- $wpUserQuery : WP_User_Query
get_bulk_actions()
Get Bulk Actions
public
get_bulk_actions() : array<string|int, mixed>
Return values
array<string|int, mixed> —named array slug and text.
get_columns()
Determine table column
public
get_columns() : mixed
get_hidden_columns()
Get hidden columns. Blank for now
public
get_hidden_columns() : mixed
get_sortable_columns()
Make our column sortable.
public
get_sortable_columns() : mixed
no_items()
Set message if table has no data
public
no_items() : void
prepare_items()
Determine table column
public
prepare_items() : void
single_row()
Generates content for a single row of the table
public
single_row(object $item) : mixed
Parameters
- $item : object
-
The current item
display_tablenav()
Display standard table footer nav AND our summary data.
protected
display_tablenav(mixed $which) : mixed
Parameters
- $which : mixed
pagination()
protected
pagination(string $which) : mixed
Parameters
- $which : string
Tags
get_cron_jobs()
Get the cron jobs for this user.
private
get_cron_jobs(string $user_id) : string
Parameters
- $user_id : string
Return values
stringget_data()
Get data to populate our table
private
get_data() : mixed
handle_bulk_actions()
Handle bulk actions.
private
handle_bulk_actions() : mixed
set_vars()
Set variables that make this table do different things.
private
set_vars() : mixed