APP_Bid_Collection
Class for a bid collection
Package
Description Description
Examples of bid collections: user bids, post bids
Methods Methods
- __construct — Sets up a bid collection object.
- _calc_avg_amount — Calculates and retrieves the collection average amount.
- add_bid — Adds a new unique bid to the bids collection and updates aggregates.
- calc_avg_amount — Calculates and retrieves the collection average amount.
- delete_bid — Deletes a bid from the bid collection and updates aggregates.
- get_amounts — Retrieves the bid collection list of bid amounts.
- get_bids — Retrieves a bid collection.
- get_meta — Retrieves the collection serialized metadata.
- save_meta — Updates the collection metadata on the DB.
- set_found_bids — Set the total found bids if the 'count' param is passed in WP_Comment_Query.
- set_meta — Sets the metadata for the current collection instance.
- update_avg_amount — Sets the average amount for the current collection instance.