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 |
static WOCustomer::changeCustomer | ( | $ | trans | ) | [static] |
called from ChangeCustomer transaction
References $db, WOCustomerAbstract::fromTablecustomer(), WTcontact::getFromDB(), WTaddress::getFromDB(), WTcustomer::getFromDB(), WTcontact::newRow(), WTaddress::newRow(), WTcontact::selectFromDB(), and tr().
Referenced by WTrChangeCustomer::handleRequest().
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] |
called from CreateCustomer transaction
References $db, WOCustomerAbstract::fromTablecustomer(), WTcontact::newRow(), WTaddress::newRow(), WTcustomer::newRow(), and tr().
Referenced by WTrCreateCustomer::handleRequest().
static WOCustomer::deleteCustomer | ( | $ | trans | ) | [static] |
called from DeleteCustomer transaction
References $db, WOCustomerAbstract::fromTablecustomer(), WTcustomer::getFromDB(), WTorder::selectFromDB(), WTcontact::selectFromDB(), WTaddress::selectFromDB(), and tr().
Referenced by WTrDeleteCustomer::handleRequest().
static WOCustomer::loginPage | ( | $ | extension | ) | [static] |
creates a login page
For templating info see Login Page Login Variables and Base Variables Base Variables.
References $basevars, $db, $HTTPARGS, WOCountry::fromTableArraycountry(), WOWebCartAbstract::fromTablecart(), WebCart::getCart(), WTcustomer::getFromDB(), WTcart::getFromDB(), WOWebSession::getOrCreateWebSession(), and WTcountry::selectFromDB().
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 ResetCustomerPassword transaction
References $basevars, $CustomerResetTime, $mode, $page, WOCustomerAbstract::fromTablecustomer(), WTcustomer::getFromDB(), getRandom(), BaseVars::init(), BaseVars::initTwig(), isEmail(), and tr().
Referenced by WTrResetCustomerPassword::handleRequest().