APP_Bid_Factory
Main class for creating bid objects.
Package
Description Description
Methods Methods
- _get_bids — Queries the database using a 'WP_Comment_Query()' to retrieve existing bids.
- create — Creates a bid object given a comment array.
- get_bids — Queries the database using a 'WP_Comment_Query()' to retrieve existing bids.
- get_post_bid_collection — Retrieves the bid collections for a given post.
- get_user_bid_collection — Retrieves the bid collections for a given user.
- make — Creates a bid object from a newly inserted comment.
- retrieve — Retrieves an existing bid object.
- set — Sets the base properties for a bid object.
- update_bids — Main method to add/remove a bid on a user/post bid collection.
- update_post_bids — Adds/removes a bid on a post bid collection.
- update_user_bids — Adds/removes a bid on a user bid collection.