/core/functions_bid.php

Description

Core Bid functions in ILance.

  • author: ILance
  • version: $Revision: 1.0.0 $
Functions
fetch_bid_info (line 60)

Function to fetch bid information to be stored in a array for usage

  • return: Returns true if awarded, false if not
boolean fetch_bid_info ([integer $bidid = 0], string $what, [string $bidamounttype = 'entire'], [integer $bidamount = 0], [integer $estimate = 0])
  • integer $bidid: bid id
  • string $what: return what? (measure, totalamount, totalamountinput)
  • string $bidamounttype: bid amount type
  • integer $bidamount: bid amount
  • integer $estimate: estimate
is_awarded (line 32)

Function to determine if a user id for a particular project id is awarded

  • return: Returns true if awarded, false if not
boolean is_awarded (integer $projectid, integer $userid)
  • integer $projectid: project id
  • integer $userid: user id
is_bid_placed (line 144)

Function to determine if a particular user has placed a bid on a specific auction id

  • return: Returns true for yes, false for no
bool is_bid_placed ([integer $projectid = 0], [integer $userid = 0])
  • integer $projectid: project id
  • integer $userid: user id

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