Свойство | Тип | Описание | |
---|---|---|---|
$count | integer | Number of donors found | |
$per_page | integer | Number of items per page | |
$total | integer | Total donors |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
display_tablenav ( string $which ) | Generate the table navigation above or below the table |
public bulk_actions ( $which = '' ) : void | ||
Результат | void |
public get_columns ( ) : array | ||
Результат | array | $columns Array of all the list table columns |
public get_search ( ) : mixed | ||
Результат | mixed | string If search is present, false otherwise |
public get_sortable_columns ( ) : array | ||
Результат | array | Array of all the sortable columns |
public prepare_items ( ) : void | ||
Результат | void |
public reports_data ( ) : array | ||
Результат | 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 |
Результат | false |