Lines:
1 to 48 of 48
<?php /** * Download Object * * @package EDD * @subpackage Classes/Download * @copyright Copyright (c) 2015, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 2.2 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /* class EDD_Download */ /* function EDD_Download::__construct() – Get things going */ /* function EDD_Download::setup_download() – Given the download data, let’s set the variables */ /* function EDD_Download::__get() – Magic __get function to dispatch a call to retrieve a private property */ /* function EDD_Download::create() – Creates a download */ /* function EDD_Download::get_ID() – Retrieve the ID */ /* function EDD_Download::get_name() – Retrieve the download name */ /* function EDD_Download::get_price() – Retrieve the price */ /* function EDD_Download::get_prices() – Retrieve the variable prices */ /* function EDD_Download::is_single_price_mode() – Determine if single price mode is enabled or disabled */ /* function EDD_Download::has_variable_prices() – Determine if the download has variable prices enabled */ /* function EDD_Download::get_files() – Retrieve the file downloads */ /* function EDD_Download::get_file_download_limit() – Retrieve the file download limit */ /* function EDD_Download::get_file_price_condition() – Retrieve the price option that has access to the specified file */ /* function EDD_Download::get_type() – Retrieve the download type, default or bundle */ /* function EDD_Download::is_bundled_download() – Determine if this is a bundled download */ /* function EDD_Download::get_bundled_downloads() – Retrieves the Download IDs that are bundled with this Download */ /* function EDD_Download::get_variable_priced_bundled_downloads() – Retrieve the Download IDs that are bundled with this Download based on the variable pricing ID passed */ /* function EDD_Download::get_notes() – Retrieve the download notes */ /* function EDD_Download::get_sku() – Retrieve the download sku */ /* function EDD_Download::get_button_behavior() – Retrieve the purchase button behavior */ /* function EDD_Download::get_sales() – Retrieve the sale count for the download */ /* function EDD_Download::increase_sales() – Increment the sale count by one */ /* function EDD_Download::decrease_sales() – Decrement the sale count by one */ /* function EDD_Download::get_earnings() – Retrieve the total earnings for the download */ /* function EDD_Download::increase_earnings() – Increase the earnings by the given amount */ /* function EDD_Download::decrease_earnings() – Decrease the earnings by the given amount */ /* function EDD_Download::is_free() – Determine if the download is free or if the given price ID is free */ /* function EDD_Download::quantities_disabled() – Is quantity input disabled on this product? */ /* function EDD_Download::update_meta() – Updates a single meta entry for the download */ /* function EDD_Download::can_purchase() – Checks if the download can be purchased */ /* function EDD_Download::get_bundle_pricing_variations() – Get pricing variations for bundled items */