Class bid_product

Description

Function to handle inserting a forward auction bid

  • author: ILance
  • version: $Revision: 1.0.0 $

Located in /api/class.bid_product.inc.php (line 28)

bid
   |
   --bid_product
Method Summary
void placebid ([integer $highbidnotify = 0], [integer $lasthournotify = 0], [integer $subscribed = 0], [integer $id = 0], [string $project_user_id = 0], [integer $bidamount = 0], [integer $qty = 1], [bool $bidderid = 0], string $isproxy, string $minimumbid, string $reserveprice, [boolean $showerrormessages = true], [string $buyershipcost = 0], [integer $buyershipperid = 0])
Methods
placebid (line 51)

Function for inserting a new product bid on a product auction event. Additionally, this function will detect if another bidder just placed a bid before this bid is inserted. This will allow the system to generate an error message back to the current bidder informing them to bid higher due to another bidder placing a bid first.

void placebid ([integer $highbidnotify = 0], [integer $lasthournotify = 0], [integer $subscribed = 0], [integer $id = 0], [string $project_user_id = 0], [integer $bidamount = 0], [integer $qty = 1], [bool $bidderid = 0], string $isproxy, string $minimumbid, string $reserveprice, [boolean $showerrormessages = true], [string $buyershipcost = 0], [integer $buyershipperid = 0])
  • integer $highbidnotify: higher bid notify filter (optional)
  • integer $lasthournotify: last hour notify filter (optional)
  • integer $subscribed: project id
  • integer $id: project owner id
  • string $project_user_id: bid amount
  • integer $bidamount: qty
  • integer $qty: bidder id
  • bool $bidderid: is proxy bid?
  • string $isproxy: minimum bid amount
  • string $minimumbid: reserve price amount
  • string $reserveprice: custom argument for live bidding (future)
  • boolean $showerrormessages: show error messages (disable if you want to call this function via API to hide html error messages; this will then only return true or false) - default true
  • string $buyershipcost: buyer shipping cost (based on his selected shipping service when placing bid)
  • integer $buyershipperid: buyer selected shipping service id

Inherited Methods

Inherited From bid

bid::bid_filter_checkup()
bid::construct_bid_details_pulldown()
bid::fetch_auction_win_amount()
bid::fetch_auction_win_type()
bid::fetch_average_bid()
bid::fetch_average_lowest_highest_bid_amounts()
bid::fetch_awarded_bid_amount()
bid::fetch_bid_amount()
bid::fetch_declined_bids()
bid::fetch_highest_bid()
bid::fetch_highest_bidder()
bid::fetch_lowest_bidder_info()
bid::fetch_minimum_bid()
bid::fetch_retracted_bids()
bid::fetch_second_highest_bid()
bid::fetch_shortlisted_bids()
bid::fetch_transaction_status()
bid::has_bids()
bid::has_highest_bidder()
bid::has_winning_bidder()
bid::is_highest_bidder()
bid::is_outbid()
bid::is_valid_bid_range()
bid::is_winner()
bid::product_bid_filter_checkup()
bid::set_bid_counters()
bid::user_can_bid()
bid::wait_approval_unaward_cron()

Documentation generated on Mon, 08 Aug 2011 17:40:50 +0200 by phpDocumentor 1.4.1