Property | Type | Description | |
---|---|---|---|
$count | integer | Number of customers found | |
$per_page | integer | Number of items per page | |
$total | integer | Total customers |
Method | Description | |
---|---|---|
__construct ( ) | Get things started | |
bulk_actions ( $which = '' ) : void | Outputs the reporting views | |
column_default ( array $item, string $column_name ) : string | This function renders most of the columns in the list table. | |
column_name ( $item ) | ||
get_columns ( ) : array | Retrieve the table columns | |
get_paged ( ) : integer | Retrieve the current page number | |
get_search ( ) : mixed | Retrieves the search query string | |
get_sortable_columns ( ) : array | Get the sortable columns | |
prepare_items ( ) : void | Setup the final data for the table | |
reports_data ( ) : array | Build all the reports data | |
search_box ( string $text, string $input_id ) : void | Show the search field |
public bulk_actions ( $which = '' ) : void | ||
return | void |
public get_columns ( ) : array | ||
return | array | $columns Array of all the list table columns |
public get_search ( ) : mixed | ||
return | mixed | string If search is present, false otherwise |
public get_sortable_columns ( ) : array | ||
return | array | Array of all the sortable columns |
public prepare_items ( ) : void | ||
return | void |
public reports_data ( ) : array | ||
return | array | $reports_data All the data for customer reports |