WP-Webrtc2 plugin

WebRTC2_List_Table_Stat extends WP_List_Table
in package

Table of Contents

Methods

__construct()  : mixed
Constructor.
column_cb()  : string
Fills table cells with data in column cb (column 0). intval($item[ $column_name ])
column_default()  : mixed
Define what data to show on each column of the table
get_bulk_actions()  : array<string|int, mixed>
Determines list of bulk actions.
get_columns()  : array<string|int, mixed>
Override the parent columns method. Defines the columns to use in your listing table
get_hidden_columns()  : array<string|int, mixed>
Define which columns are hidden.
get_sortable_columns()  : array<string|int, mixed>
Define the sortable columns
prepare_items()  : void
Prepare the items for the table to process
usort_reorder()  : array<string|int, mixed>
Sorting data of table.
webrtc2_create_report_stat()  : mixed
Create report file of WP-WebRTC2: call statistics
process_bulk_action()  : mixed
Performs bulk actions.
table_data()  : array<string|int, mixed>
Get the table data

Methods

column_cb()

Fills table cells with data in column cb (column 0). intval($item[ $column_name ])

public column_cb(mixed $item) : string
Parameters
$item : mixed
Return values
string

sprintf(...)

column_default()

Define what data to show on each column of the table

public column_default(array<string|int, mixed> $item, string $column_name) : mixed
Parameters
$item : array<string|int, mixed>

Data

$column_name : string

Current column name

get_bulk_actions()

Determines list of bulk actions.

public get_bulk_actions() : array<string|int, mixed>
Return values
array<string|int, mixed>

Bulk actions

get_columns()

Override the parent columns method. Defines the columns to use in your listing table

public get_columns() : array<string|int, mixed>
Return values
array<string|int, mixed>

get_hidden_columns()

Define which columns are hidden.

public get_hidden_columns() : array<string|int, mixed>
Return values
array<string|int, mixed>

get_sortable_columns()

Define the sortable columns

public get_sortable_columns() : array<string|int, mixed>
Return values
array<string|int, mixed>

usort_reorder()

Sorting data of table.

public usort_reorder(mixed $a, mixed $b) : array<string|int, mixed>
Parameters
$a : mixed
$b : mixed
Return values
array<string|int, mixed>

Bulk actions

webrtc2_create_report_stat()

Create report file of WP-WebRTC2: call statistics

public webrtc2_create_report_stat(array<string|int, mixed> $result) : mixed
Parameters
$result : array<string|int, mixed>

Selected records for report.

table_data()

Get the table data

private table_data([string $search = "" ]) : array<string|int, mixed>
Parameters
$search : string = ""

Search.

Return values
array<string|int, mixed>

        
On this page

Search results