Static Public Member Functions

WOCustomer Class Reference

Inheritance diagram for WOCustomer:
WOCustomerAbstract WObject

List of all members.

Static Public Member Functions

static changeCustomer ($trans)
 called from ChangeCustomer transaction
static changeCustomerMail ($trans)
 called from ChangeCustomerMail transaction
static checkLogin ($next, $storeincart)
 check the login of the customer, either forwards to the checkout page or shows the loginerror page
static createContactType ($trans)
 called from CreateContactType transaction
static createCountry ($trans)
 called from CreateCountry transaction
static createCustomer ($trans)
 called from CreateCustomer transaction
static deleteCustomer ($trans)
 called from DeleteCustomer transaction
static loginPage ($extension)
 creates a login page
static registerCustomer ()
 attempts to register a customer: if ok it creates a new customer object and redirects to the createaddress page, otherwise it shows the loginerror page
static resetLoginPage ()
 page shown to the customer after clicking the password reset link above
static resetPassword ($trans)
 the ResetCustomerPassword transaction

Member Function Documentation

static WOCustomer::changeCustomer ( trans  )  [static]
static WOCustomer::changeCustomerMail ( trans  )  [static]

called from ChangeCustomerMail transaction

References $db, WOCustomerAbstract::fromTablecustomer(), WTcustomer::getFromDB(), and tr().

Referenced by WTrChangeCustomerMail::handleRequest().

static WOCustomer::checkLogin ( next,
storeincart 
) [static]

check the login of the customer, either forwards to the checkout page or shows the loginerror page

References $db, WebCart::getCart(), WTwebsession::getFromDB(), WTcart::getFromDB(), WOWebSession::getOrCreateWebSession(), Session::passwdVerify(), redirectHome(), WTaddress::selectFromDB(), and WTcustomer::selectFromDB().

static WOCustomer::createContactType ( trans  )  [static]

called from CreateContactType transaction

References $db, WOContactType::fromTablecontacttype(), WTcontacttype::newRow(), and tr().

Referenced by WTrCreateContactType::handleRequest().

static WOCustomer::createCountry ( trans  )  [static]

called from CreateCountry transaction

References $db, WOCountry::fromTablecountry(), WTcountry::newRow(), and tr().

Referenced by WTrCreateCountry::handleRequest().

static WOCustomer::createCustomer ( trans  )  [static]
static WOCustomer::deleteCustomer ( trans  )  [static]
static WOCustomer::loginPage ( extension  )  [static]
static WOCustomer::registerCustomer (  )  [static]

attempts to register a customer: if ok it creates a new customer object and redirects to the createaddress page, otherwise it shows the loginerror page

References $db, WebCart::getCart(), WTwebsession::getFromDB(), WTcart::getFromDB(), WOWebSession::getOrCreateWebSession(), WTaddress::newRow(), WTcustomer::newRow(), Session::passwdHash(), redirectHome(), WTaddress::selectFromDB(), and WTcustomer::selectFromDB().

static WOCustomer::resetLoginPage (  )  [static]

page shown to the customer after clicking the password reset link above

References $basevars, $db, $HTTPARGS, WOCustomerAbstract::fromTablecustomer(), Session::passwdHash(), WTcustomer::selectFromDB(), and tr().

static WOCustomer::resetPassword ( trans  )  [static]

The documentation for this class was generated from the following file: