Easy Digital Downloads
  • Package
  • Class
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Classes

  • EDD_API_Request_Log_Table
  • EDD_Customer_Reports_Table
  • EDD_Customers_Export
  • EDD_Download_History_Export
  • EDD_Download_Reports_Table
  • EDD_Export
  • EDD_File_Downloads_Log_Table
  • EDD_Gateway_Error_Log_Table
  • EDD_Payments_Export
  • EDD_Sales_Log_Table

Functions

  • edd_draw_chart_image
  • edd_estimated_monthly_stats
  • edd_generate_pdf
  • edd_get_report_dates
  • edd_log_default_views
  • edd_log_views
  • edd_logs_view_api_requests
  • edd_logs_view_file_downloads
  • edd_logs_view_gateway_errors
  • edd_logs_view_sales
  • edd_parse_report_dates
  • edd_report_views
  • edd_reporting_contextual_help
  • edd_reports_customers_table
  • edd_reports_default_views
  • edd_reports_downloads_table
  • edd_reports_earnings
  • edd_reports_graph
  • edd_reports_graph_controls
  • edd_reports_page
  • edd_reports_tab_export
  • edd_reports_tab_logs
  • edd_reports_tab_reports
  • edd_reports_taxes

Class EDD_File_Downloads_Log_Table

EDD_File_Downloads_Log_Table Class

Renders the file downloads log view

WP_List_Table
Extended by EDD_File_Downloads_Log_Table
Package: EDD\Admin\Reports
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.4
Located at includes/admin/reporting/class-file-downloads-logs-list-table.php

Methods summary

public
# __construct( )

Get things started

Get things started

Since

1.4

See

WP_List_Table::__construct()
public
# search_box( string $text, string $input_id )

Show the search field

Show the search field

Parameters

$text
string
$text Label for the search box
$input_id
string
$input_id ID of the search box

Since

1.4

Used by

edd_logs_view_file_downloads()
public string
# column_default( array $item, string $column_name )

This function renders most of the columns in the list table.

This function renders most of the columns in the list table.

Parameters

$item
array
$item Contains all the data of the discount code
$column_name
string
$column_name The name of the column

Returns

string
Column Name

Since

1.4
public array
# get_columns( )

Retrieve the table columns

Retrieve the table columns

Returns

array
$columns Array of all the list table columns

Since

1.4

Used by

EDD_File_Downloads_Log_Table::prepare_items()
public mixed
# get_filtered_user( )

Retrieves the user we are filtering logs by, if any

Retrieves the user we are filtering logs by, if any

Returns

mixed
int If User ID, string If Email/Login

Since

1.4
public integer
# get_filtered_download( )

Retrieves the ID of the download we're filtering logs by

Retrieves the ID of the download we're filtering logs by

Returns

integer
Download ID

Since

1.4
public mixed
# get_search( )

Retrieves the search query string

Retrieves the search query string

Returns

mixed
string If search is present, false otherwise

Since

1.4
public array
# get_meta_query( )

Gets the meta query for the log query

Gets the meta query for the log query

This is used to return log entries that match our search query, user query, or download query

Returns

array
$meta_query

Since

1.4
public integer
# get_paged( )

Retrieve the current page number

Retrieve the current page number

Returns

integer
Current page number

Since

1.4
public
# bulk_actions( )

Outputs the log views

Outputs the log views

Since

1.4
public
# downloads_filter( )

Sets up the downloads filter

Sets up the downloads filter

Since

1.4
public array
# get_logs( )

Gets the log entries for the current view

Gets the log entries for the current view

Returns

array
$logs_data Array of all the Log entires

Since

1.4

Used by

EDD_File_Downloads_Log_Table::prepare_items()
public
# prepare_items( )

Setup the final data for the table

Setup the final data for the table

Since

1.5

Uses

EDD_File_Downloads_Log_Table::get_columns()
WP_List_Table::get_sortable_columns()
EDD_File_Downloads_Log_Table::get_pagenum()
EDD_File_Downloads_Log_Table::get_logs()
EDD_File_Downloads_Log_Table::get_log_count()
WP_List_Table::set_pagination_args()

Used by

edd_logs_view_file_downloads()
edd_logs_view_gateway_errors()

Magic methods summary

Properties summary

public integer $per_page
#

Number of items per page

Number of items per page

Since

1.4
public boolean $file_search
#

Are we searching for files?

Are we searching for files?

Since

1.4
Easy Digital Downloads API documentation generated by ApiGen 2.8.0