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_API_Request_Log_Table

EDD_API_Request_Log_Table List Table Class

Renders the gateway errors list table

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

Methods summary

public
# __construct( )

Get things started

Get things started

Since

1.5

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.5

Used by

edd_logs_view_api_requests()
public array
# get_columns( )

Retrieve the table columns

Retrieve the table columns

Returns

array
$columns Array of all the list table columns

Since

1.5

Used by

EDD_API_Request_Log_Table::prepare_items()
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.5
public
# column_details( array $item )

Output Error Message column

Output Error Message column

Parameters

$item
array
$item Contains all the data of the log

Since

1.5
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.5
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

Returns

array
$meta_query

Since

1.5
public integer
# get_paged( )

Retrieve the current page number

Retrieve the current page number

Returns

integer
Current page number

Since

1.5
public
# bulk_actions( )

Outputs the log views

Outputs the log views

Since

1.5
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.5

Used by

EDD_API_Request_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_API_Request_Log_Table::get_columns()
WP_List_Table::get_sortable_columns()
EDD_API_Request_Log_Table::get_pagenum()
EDD_API_Request_Log_Table::get_logs()
EDD_API_Request_Log_Table::get_log_count()

Used by

edd_logs_view_api_requests()

Magic methods summary

Properties summary

public integer $per_page
#

Number of items per page

Number of items per page

Since

1.5
Easy Digital Downloads API documentation generated by ApiGen 2.8.0