Easy Property Listings 3.5.15 Code Reference
  • Package
  • Class
  • Tree
  • Todo
  • Hook Reference

Packages

  • EPL
    • Admin
      • Actions
      • Classes
        • ContactsTable
        • ReportsGraph
        • Welcome
      • Contacts
      • ContactsActions
      • ContactsFunctions
      • Elements
      • Functions
      • Help
      • HelpSingle
      • Menus
      • MenusAddons
      • MenusExtensions
      • MenusLicenses
      • Plugins
      • Reports
      • ReportsGraphing
      • User
    • Assets
      • ScriptsStyles
      • SVG
    • Classes
      • AuthorLoader
      • AuthorMeta
      • Contact
      • Cron
      • CustomPostType
      • Forms
      • License
      • ListingAdvanced
      • ListingElements
      • MetaboxesCustomFields
      • Pagination
      • PropertyMeta
      • RenderFields
      • RestAPI
      • Search
      • Session
      • Updater
    • Compatibility
      • Extensions
      • Functions
      • Shortcodes
    • Functions
      • Actions
      • ConditionalTags
      • ErrorTracking
      • Formatting
      • Front
      • Global
      • Install
      • Pagination
      • Settings
      • Templates
    • Hooks
      • EnergyCertificate
      • ExternalLinks
      • FloorPlan
      • Map
      • ReadMore
      • WebLink
    • Meta
      • InitCustomFields
      • Meta
    • PostTypes
      • Business
      • Commercial
      • CommercialLand
      • Contact
      • Functions
      • Land
      • Property
      • Rental
      • Rural
    • Shortcode
      • CommercialListingSearch
      • ContactForm
      • Listing
      • ListingAdvanced
      • ListingAuction
      • ListingCategory
      • ListingFeature
      • ListingLocation
      • ListingMetaDoc
      • ListingOpen
      • ListingResults
      • ListingSearch
      • Map
    • Taxonomy
      • BusinessCategories
      • ContactTag
      • Features
      • Location
    • Templates
      • Themes
        • iThemes
        • iThemesBuilder
    • Widget
      • Admin
        • Dashboard
      • Classes
        • Author
        • ContactCapture
        • Gallery
        • Listing
        • Search
      • Functions
  • None
  • WordPress
    • Session

Classes

  • EPL_Contact_Reports_Table

Class EPL_Contact_Reports_Table

EPL_Contact_Reports_Table Class.

Renders the Contact Reports table

WP_List_Table
Extended by EPL_Contact_Reports_Table
Package: EPL\Admin\Classes\ContactsTable
Copyright: Copyright (c) 2020, Merv Barrett
License: GNU Public License
Since: 3.0
Located at lib/includes/admin/contacts/class-epl-contact-reports-table.php

Methods summary

public
# __construct( )

Get things started

Get things started

Since

3.0

See

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

Show the search field

Show the search field

Parameters

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

Since

3.0
protected string
# get_primary_column_name( )

Gets the name of the primary column.

Gets the name of the primary column.

Returns

string
Name of the primary column.

Since

3.0
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
Contains all the data of the contacts.
$column_name
The name of the column.

Returns

string
Column Name

Since

3.0
public string
# column_name( array $item )

Name for each columns

Name for each columns

Parameters

$item
Column items.

Returns

string
public string
# column_type( array $item )

Type for each column

Type for each column

Parameters

$item
Column items.

Returns

string
public string
# column_summary( array $item )

Column summary for each column.

Column summary for each column.

Parameters

$item
Column items.

Returns

string
public array
# get_columns( )

Retrieve the table columns

Retrieve the table columns

Returns

array
$columns Array of all the list table columns

Since

3.0

Used by

EPL_Contact_Reports_Table::prepare_items()
public string
# column_cb( array $item )

Render checkbox column

Render checkbox column

Parameters

$item
Column items.

Returns

string
public array
# get_sortable_columns( )

Get the sortable columns

Get the sortable columns

Returns

array
Array of all the sortable columns

Since

3.0
public integer
# get_paged( )

Retrieve the current page number

Retrieve the current page number

Returns

integer
Current page number

Since

3.0
public false|string
# get_search( )

Retrieves the search query string

Retrieves the search query string

Returns

false|string
string If search is present, false otherwise

Since

1.7
public mixed
# get_name_search( )

Retrieves the search query string

Retrieves the search query string

Returns

mixed
string If search is present, false otherwise

Since

3.3
public array
# reports_data( )

Build all the reports data

Build all the reports data

Returns

array
$reports_data All the data for contact reports

Since

3.0
public
# process_bulk_action( )

Process bulk contact operations

Process bulk contact operations

Since

3.3
3.4.38 Fix: Bulk action delete not working.
3.5.4 Fix: Contacts bulk processing nonce & permission confirmation before processing.
public
# prepare_items( )

Setup the final data for the table

Setup the final data for the table

Since

3.0

Uses

EPL_Contact_Reports_Table::get_columns()
WP_List_Table::get_sortable_columns()
EPL_Contact_Reports_Table::get_pagenum()
EPL_Contact_Reports_Table::get_total_contacts()
public
# get_bulk_actions( )

Get bulk contact actions

Get bulk contact actions

Since

3.3
public
# extra_tablenav( string $which )

Output the contact categories

Output the contact categories

Parameters

$which
nav location.

Since

3.0
3.5 Added accessibility labels to select elements.

Properties summary

public integer $per_page

Number of items per page

Number of items per page

Since

3.0
# 30
public integer $count

Number of contacts found

Number of contacts found

Since

3.0
# 0
public integer $total

Total contacts

Total contacts

Since

3.0
# 0
Easy Property Listings 3.5.15 Code Reference API documentation generated by ApiGen