Lines:
1 to 39 of 39
<?php /** * Customers DB class * * This class is for interacting with the customers' database table * * @package EDD * @subpackage Classes/DB Customers * @copyright Copyright (c) 2015, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 2.1 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /* class EDD_DB_Customers */ /* function EDD_DB_Customers::__construct() – Get things started */ /* function EDD_DB_Customers::get_columns() – Get columns and formats */ /* function EDD_DB_Customers::get_column_defaults() – Get default column values */ /* function EDD_DB_Customers::add() – Add a customer */ /* function EDD_DB_Customers::insert() – Insert a new customer */ /* function EDD_DB_Customers::update() – Update a customer */ /* function EDD_DB_Customers::delete() – Delete a customer */ /* function EDD_DB_Customers::exists() – Checks if a customer exists */ /* function EDD_DB_Customers::attach_payment() – Attaches a payment ID to a customer */ /* function EDD_DB_Customers::remove_payment() – Removes a payment ID from a customer */ /* function EDD_DB_Customers::increment_stats() – Increments customer purchase stats */ /* function EDD_DB_Customers::decrement_stats() – Decrements customer purchase stats */ /* function EDD_DB_Customers::update_customer_email_on_user_update() – Updates the email address of a customer record when the email on a user is updated */ /* function EDD_DB_Customers::get_customer_by() – Retrieves a single customer from the database */ /* function EDD_DB_Customers::get_customers() – Retrieve customers from the database */ /* function EDD_DB_Customers::count() – Count the total number of customers in the database */ /* function EDD_DB_Customers::prepare_customer_query_args() – Prepare query arguments for `EDD_Customer_Query`. */ /* function EDD_DB_Customers::set_last_changed() – Sets the last_changed cache key for customers. */ /* function EDD_DB_Customers::get_last_changed() – Retrieves the value of the last_changed cache key for customers. */ /* function EDD_DB_Customers::create_table() – Create the table */