extends |
WP_List_Table |
|---|
EPL_Contact_Reports_Table Class.
Renders the Contact Reports table
| Since | |
|---|---|
3.0 |
|
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
public
|
__construct()
Get things started
Get things started Since
|
# | ||||||
public
|
search_box(string $text, string $input_id): void
Show the search field
Show the search field Parameters
Since
|
# | ||||||
protected
|
get_primary_column_name(): string
Gets the name of the primary column.
Gets the name of the primary column. ReturnsName of the primary column. Since
|
# | ||||||
public
|
column_default(array $item, string $column_name): string
This function renders most of the columns in the list table.
This function renders most of the columns in the list table. Parameters
ReturnsColumn Name Since
|
# | ||||||
public
|
column_name(array $item): string
Name for each columns
Name for each columns Parameters
|
# | ||||||
public
|
column_type(array $item): string
Type for each column
Type for each column Parameters
|
# | ||||||
public
|
column_summary(array $item): string
Column summary for each column.
Column summary for each column. Parameters
|
# | ||||||
public
|
get_columns(): array
Retrieve the table columns
Retrieve the table columns Returns$columns Array of all the list table columns Since
|
# | ||||||
public
|
column_cb(array $item): string
Render checkbox column
Render checkbox column Parameters
|
# | ||||||
public
|
get_sortable_columns(): array
Get the sortable columns
Get the sortable columns ReturnsArray of all the sortable columns Since
|
# | ||||||
public
|
get_paged(): int
Retrieve the current page number
Retrieve the current page number ReturnsCurrent page number Since
|
# | ||||||
public
|
get_search(): false|string
Retrieves the search query string
Retrieves the search query string Returnsstring If search is present, false otherwise Since
|
# | ||||||
public
|
get_name_search(): mixed
Retrieves the search query string
Retrieves the search query string Returnsstring If search is present, false otherwise Since
|
# | ||||||
public
|
reports_data(): array
Build all the reports data
Build all the reports data Returns$reports_data All the data for contact reports Since
|
# | ||||||
public
|
process_bulk_action()
Process bulk contact operations
Process bulk contact operations Since
|
# | ||||||
public
|
prepare_items(): void
Setup the final data for the table
Setup the final data for the table Since
|
# | ||||||
public
|
get_bulk_actions()
Get bulk contact actions
Get bulk contact actions Since
|
# | ||||||
public
|
extra_tablenav(string $which)
Output the contact categories
Output the contact categories Parameters
Since
|
# | ||||||
| Properties | |||
|---|---|---|---|
public
|
int
|
$per_page = 30
|
# |
public
|
int
|
$count = 0
|
# |
public
|
int
|
$total = 0
|
# |