Property | Type | Description | |
---|---|---|---|
$count | integer | Number of donors found | |
$per_page | integer | Number of items per page | |
$total | integer | Total donors |
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. | |
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 | |
give_search_box ( string $text, string $input_id ) : void | Show the search field | |
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 ) : false | Remove default search field in favor for repositioned location |
Method | Description | |
---|---|---|
display_tablenav ( string $which ) | Generate the table navigation above or below the table |
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 donor reports |
public search_box ( string $text, string $input_id ) : false | ||
$text | string | Label for the search box |
$input_id | string | ID of the search box |
return | false |