Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • None
  • Product-Delivery-Date-Pro-for-WooCommerce
    • Addon
    • Admin
      • Settings
        • Field-Labels
        • General
        • Google-Sync
      • View-Deliveries
    • Calendar
    • Common-Functions
    • Configuration
    • Delivery-Charges
    • Edit-Deliveries
    • Emails
    • Frontend
      • Cart
      • Checkout
    • Google-Calendar
    • Languages
    • License
    • Reschedule-Deliveries
    • View-Deliveries

Classes

  • PRDD_View_Deliveries_Table

Class PRDD_View_Deliveries_Table

Class for displaying the delivery date and time.

WP_List_Table
Extended by PRDD_View_Deliveries_Table
Package: Product-Delivery-Date-Pro-for-WooCommerce\View-Deliveries
Author: Tyche Softwares
Since: 1.1
Located at prdd-class-view-deliveries-table.php

Methods summary

public
# __construct( )

Get things started

Get things started

Since

1.1
public
# prdd_prepare_items( )

Prepare data to be displayed on View Delivery List Page

Prepare data to be displayed on View Delivery List Page

Since

1.1
public array
# get_views( )

Get the current Views

Get the current Views

Returns

array
$views Current Views available to be displayed

Since

1.1
public array
# get_columns( )

Get Columns to be displayed

Get Columns to be displayed

Returns

array
$columns Columns to be displayed

Since

1.1
public array
# get_sortable_columns( )

Set the columns that can be sorted.

Set the columns that can be sorted.

Returns

array
$columns Columns array with sortable columns set or reset

Since

1.1
public
# search_box( string $text, string $input_id )

Add Advanced Filters - Search Box

Add Advanced Filters - Search Box

Parameters

$text
Text Searched for
$input_id
ID of the field searched

Since

1.1

Todo

Function is not necessary
public
# get_delivery_counts( )

Get the total product delivery count and apply at appropriate places

Get the total product delivery count and apply at appropriate places

Since

1.1
public string
# prdd_count_deliveries( mixed $args )

Get the product deliveries counts

Get the product deliveries counts

Parameters

$args
Filters added for counts

Returns

string
$deliveries_count Total deliveries Count

Since

1.1

Globals

mixed $wpdb
public array
# deliveries_data( )

It will generate the all the product deliveries date and time under View Deliveries section.

It will generate the all the product deliveries date and time under View Deliveries section.

Returns

array
$return_delivery_display Key and value of all the columns

Since

1.1

Globals

mixed $wpdb
public timestamp
# prdd_class_delivery_date_asc( array $value1, array $value2 )

It will sort the ascending data based on the Delivery Date.

It will sort the ascending data based on the Delivery Date.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

timestamp

Since

1.1
public timestamp
# prdd_class_delivery_date_dsc( array $value1, array $value2 )

It will sort the descending data based on the Delivery Date.

It will sort the descending data based on the Delivery Date.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

timestamp

Since

1.1
public string
# column_default( array $delivery, stirng $column_name )

It will display the data for Delivery Date.

It will display the data for Delivery Date.

Parameters

$delivery
object $delivery All data of the list
$column_name
Name of the column

Returns

string
$value Data of the column

Since

1.1

Properties summary

public string $per_page

Number of results to show per page

Number of results to show per page

Since

1.1
# 30
public string $base_url

URL of this page

URL of this page

Since

1.1
#
public integer $total_count

Total number of deliveries

Total number of deliveries

Since

1.1
#
public integer $future_count

Total number of deliveries from today onwards

Total number of deliveries from today onwards

Since

1.1
#
public integer $today_delivery_count

Total number of deliveries today

Total number of deliveries today

Since

1.1
#
API documentation generated by ApiGen