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

Packages

  • BKAP
    • Addons
    • Admin-Bookings
    • Attribute-Lockout
    • Block-Pricing
    • Booking-Box
    • Booking-Confirmation
    • Booking-Process
    • Cancel-Order
    • Cart
    • Checkout-Process
    • Core
    • Date-Time
    • Emails
    • Functions
    • Global-Function
    • Global-Settings
    • Google-Calendar-Sync
    • ICS
    • Import-Booking
    • Labels
    • License
    • Menus
    • Meta-Boxes
    • Reschedule
    • Resources
    • Search-Widget
    • Special-Price
    • Uninstall
    • Validation
    • Variation-Lockout
    • Vendors
      • Dokan
      • WC-Vendors
    • View-Bookings
  • None

Classes

  • BKAP_Bookings_View
  • view_bookings
  • WAPBK_View_Bookings_Table

Class WAPBK_View_Bookings_Table

Class for displaying the bookings

WP_List_Table
Extended by WAPBK_View_Bookings_Table
Package: BKAP\View-Bookings
Author: Tyche Softwares
Since: 1.7.0
Since: 4.2.0 New Bookings View is introduced
See: BKAP_Bookings_View
Located at class-view-bookings-table.php

Methods summary

public
# __construct( )

Default Constructor

Default Constructor

See

WP_List_Table::__construct()

Globals

string $status
mixed $page
public
# bkap_prepare_items( )

Prepare data to be displayed on List Page

Prepare data to be displayed on List Page

Since

1.7.0
public array
# get_views( )

Get the current Views

Get the current Views

Returns

array
Current Views available to be displayed

Since

1.7.0
public array
# get_columns( )

Get Columns to be displayed

Get Columns to be displayed

Returns

array
Columns to be displayed

Since

1.7.0
public array
# get_sortable_columns( )

Set the columns that can be sorted.

Set the columns that can be sorted.

Returns

array
Columns array with sortable columns set or reset

Since

1.7.0
public
# advanced_filters( )

Add Advanced Filters - Search Box

Add Advanced Filters - Search Box

Since

1.7.0
public
# advanced_filters_by_date( )

Add Advanced Filters - Filter By Date

Add Advanced Filters - Filter By Date

Since

1.7.0
public
# search_by_date( string $text, string $input_id )

Search by Date for the bookings received

Search by Date for the bookings received

Parameters

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

Since

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

Search by Text Entered in the search box

Search by Text Entered in the search box

Parameters

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

Since

1.7.0
public
# get_booking_counts( )

Get the total Booking count and apply at appropriate places

Get the total Booking count and apply at appropriate places

Since

1.7.0
public string
# bkap_count_bookings( mixed $args )

Get the booking counts

Get the booking counts

Parameters

$args
Filters added for counts

Returns

string
Total Booking Count

Since

1.7.0

Globals

mixed $wpdb
public integer
# get_counts( mixed $results_array, integer $bookings_count )

Get counts based on the results and bookings associated

Get counts based on the results and bookings associated

Parameters

$results_array
Results Array
$bookings_count
Total Booking Count

Returns

integer
Booking Count

Since

1.7.0

Globals

mixed $wpdb
public
# bookings_data( )
public
# bkap_class_order_id_asc( $value1, $value2 )
public
# bkap_class_order_id_dsc( $value1, $value2 )
public
# bkap_class_amount_asc( $value1, $value2 )
public
# bkap_class_amount_dsc( $value1, $value2 )
public
# bkap_class_quantity_asc( $value1, $value2 )
public
# bkap_class_quantity_dsc( $value1, $value2 )
public
# bkap_class_order_date_asc( $value1, $value2 )
public
# bkap_class_order_date_dsc( $value1, $value2 )
public
# bkap_class_checkin_date_asc( $value1, $value2 )
public
# bkap_class_checkin_date_dsc( $value1, $value2 )
public
# bkap_class_checkout_date_asc( $value1, $value2 )
public
# bkap_class_checkout_date_dsc( $value1, $value2 )
public
# bkap_class_name_asc( $value1, $value2 )
public
# bkap_class_name_dsc( $value1, $value2 )
public
# bkap_class_product_name_asc( $value1, $value2 )
public
# bkap_class_product_name_dsc( $value1, $value2 )
public
# column_default( $booking, $column_name )

Properties summary

public string $per_page

Number of results to show per page

Number of results to show per page

# 30
public string $base_url

URL of this page

URL of this page

#
public integer $total_count

Total number of bookings

Total number of bookings

#
public integer $future_count

Total number of bookings from today onwards

Total number of bookings from today onwards

#
public integer $today_checkin_count

Total number of check-ins today

Total number of check-ins today

#
public integer $today_checkout_count

Total number of checkouts today

Total number of checkouts today

#
public integer $pending_confirmation

Total Number of bookings awaiting confirmation

Total Number of bookings awaiting confirmation

#
public integer $unpaid

Total number of unpaid bookings

Total number of unpaid bookings

#
public string $gcal_reserved

Total number of Bookings Imported from GCal

Total number of Bookings Imported from GCal

#
public array $duration_range_select
# array()
public array $start_end_dates
# array()
API documentation generated by ApiGen