Version

1.19.2.3.2.1.2.13.2.61 (checked in on 2008/06/11 at 19:32:32 by brmassa)

Description

@author e-Commerce Dev Team auction.module Auction products for e-Commerce.

Users can see their bidding history, site admins can forbid users to change the default expiration date, and some other fetures.

Functions

Namesort iconDescription
auction_accessImplementation of hook_access().
auction_bid_currentWhen passed a node id, returns the current bid, bidder, date and number of bids.
auction_bid_formGenerates the HTML elements required for an auction bidding form. You can retheme this form by overriding theme_auction_bid_form().
auction_bid_form_submitSubmit form, which passed validation, save bid to database
auction_bid_form_validateChecks that a new bid is valid. Currently, it simply checks that the bid is a number and is higher than the previous bid.
auction_bid_historyDisplays a bidding history for the passed node id. Currently displays that data in a table with no option to retheme in anything but a table.
auction_bid_saveSave the bid
auction_checkout_pageAdd all auction products that the user won to cart
auction_ec_settingsImplementation of e-Commerce hook_ec_settings().
auction_item_paid_forSupposed to return true if the auction item has already been paid for. But between you and me, I am suspicious of the logic.
auction_linkImplementation of hook_link().
auction_link_alterImplemetation of hook_links_alter()
auction_menuImplementation of hook_menu().
auction_nodeapiImplemetation of hook_nodeapi()
auction_pageAuction page
auction_permImplementation of hook_perm().
auction_product_deleteImplementation of hook_product_delete()
auction_product_ec_checkout_validate_itemImplementation of hook_product_cart_add_item()
auction_product_form_alterImplementation of hook_product_form_alter(). TODO: this was already broken so needs fixing.
auction_product_infoImplementation of hook_product_info()
auction_product_insertImplementation of hook_product_insert()
auction_product_loadImplementation of hook_product_load()
auction_product_price_adjustImplementation of hook_product_price_adjust()
auction_product_updateImplementation of hook_product_update()
auction_product_validateImplementation of hook_product_validate()
auction_userImplementation of hook_user().
auction_views_filter_bidFilter the Views to only show the last bid
auction_views_tablesImplementation of hook_views_tables()
product_auction_view_formCreate form array and load some useful information for later theming
theme_auction_bid_formFormats the HTML elements that you see when you _Bid_ on an auction. You can override this function. Refer to Theming at http://drupal.org/node/55126. Called indirectly by theme_product_auction_view()
theme_auction_bid_historyFormats the Bidders' list
theme_product_auction_view_formFormats the HTML elements that you see when you _View_ an auction.