|
MagicSmoke
$VERSION$
|
Static Public Member Functions | |
| static | changeCustomer ($trans) |
| called from ChangeCustomer transaction More... | |
| static | changeCustomerMail ($trans) |
| called from ChangeCustomerMail transaction More... | |
| static | checkLogin ($next, $storeincart) |
| check the login of the customer, either forwards to the checkout page or shows the loginerror page More... | |
| static | createContactType ($trans) |
| called from CreateContactType transaction More... | |
| static | createCountry ($trans) |
| called from CreateCountry transaction More... | |
| static | createCustomer ($trans) |
| called from CreateCustomer transaction More... | |
| static | createHints ($trans) |
| callback for the GetCreateCustomerHints transaction More... | |
| static | deleteCustomer ($trans) |
| called from DeleteCustomer transaction More... | |
| static | loginPage ($extension) |
| creates a login page More... | |
| 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 More... | |
| static | resetLoginPage () |
| page shown to the customer after clicking the password reset link above More... | |
| static | resetPassword ($trans) |
| the ResetCustomerPassword transaction More... | |
| static | sendMail ($trans) |
| callback for the SendCustomerMail transaction More... | |
Static Public Member Functions inherited from WOCustomerAbstract | |
| static | fromString ($txt) |
| static | fromTableArraycustomer (array $table) |
| static | fromTablecustomer ($table) |
| static | fromXml ($xml, $elem) |
| static | validateaddresses ($value) |
| static | validatecflags ($value) |
| static | validatecomments ($value) |
| static | validatecontacts ($value) |
| static | validateemail ($value) |
| static | validatefirstname ($value) |
| static | validateid ($value) |
| static | validatename ($value) |
| static | validatetags ($value) |
| static | validatetitle ($value) |
Static Public Member Functions inherited from WObject | |
| static | elementsByTagName ($root, $tag) |
| helper function that returns only the elements directly beneith the one given as $root More... | |
| static | fromXmlBoolean ($str) |
| helper function for XML'ized objects that transforms XML boolean to PHP boolean More... | |
| static | isXmlBoolean ($str) |
| helper function for XML'ized objects: it returns whether the string is a valid boolean More... | |
Additional Inherited Members | |
Public Member Functions inherited from WOCustomerAbstract | |
| __construct () | |
| add_addresses ($value) | |
| add_contacts ($value) | |
| clear_addresses () | |
| clear_contacts () | |
| getaddresses () | |
| getcflags () | |
| getcomments () | |
| getcontacts () | |
| getemail () | |
| getfirstname () | |
| getid () | |
| getname () | |
| getstr_cflags () | |
| getstr_comments () | |
| getstr_email () | |
| getstr_firstname () | |
| getstr_id () | |
| getstr_name () | |
| getstr_tags () | |
| getstr_title () | |
| gettags () | |
| gettitle () | |
| propertyArray () | |
| setaddresses (array $values) | |
| setcflags ($value) | |
| setcomments ($value) | |
| setcontacts (array $values) | |
| setemail ($value) | |
| setfirstname ($value) | |
| setid ($value) | |
| setname ($value) | |
| settags ($value) | |
| settitle ($value) | |
| toString () | |
| toTablecustomer (&$table) | |
| toXml ($xml, $elementname="Customer") | |
Public Member Functions inherited from WObject | |
| propertyArray () | |
| base for property array More... | |
Protected Member Functions inherited from WOCustomerAbstract | |
| toXmlHelper ($xml, $root) | |
Protected Member Functions inherited from WObject | |
| __construct () | |
| toXmlHelper ($xml, $root) | |
| base for serialization More... | |
Static Protected Member Functions inherited from WOCustomerAbstract | |
| static | fromXmlHelper ($data, $xml, $elem) |
Static Protected Member Functions inherited from WObject | |
| static | fromXmlHelper ($data, $xml, $elem) |
| base for deserialization More... | |
| static | objectToArray ($obj) |
| helper function for classy objects that calls getPropertyArray if available More... | |
Protected Attributes inherited from WOCustomerAbstract | |
| $prop_addresses | |
| $prop_cflags =null | |
| $prop_comments =null | |
| $prop_contacts | |
| $prop_email =null | |
| $prop_firstname =null | |
| $prop_id =null | |
| $prop_name =null | |
| $prop_tags =null | |
| $prop_title =null | |
|
static |
called from ChangeCustomer transaction
References $db, WOCustomerAbstract\fromTablecustomer(), WTaddress\getFromDB(), WTcustomer\getFromDB(), WTcontact\getFromDB(), WTaddress\newRow(), WTcontact\newRow(), WTcontact\selectFromDB(), and tr().
Referenced by WTrChangeCustomer\handleRequest().
|
static |
called from ChangeCustomerMail transaction
References $db, WOCustomerAbstract\fromTablecustomer(), WTcustomer\getFromDB(), and tr().
Referenced by WTrChangeCustomerMail\handleRequest().
|
static |
check the login of the customer, either forwards to the checkout page or shows the loginerror page
References $basevars, $db, $HTTPARGS, WebCart\getCart(), WTwebsession\getFromDB(), WTcart\getFromDB(), WOWebSession\getOrCreateWebSession(), Session\passwdVerify(), redirectHome(), WTaddress\selectFromDB(), and WTcustomer\selectFromDB().
|
static |
called from CreateContactType transaction
References $db, WOContactType\fromTablecontacttype(), WTcontacttype\newRow(), and tr().
Referenced by WTrCreateContactType\handleRequest().
|
static |
called from CreateCountry transaction
References $db, WOCountry\fromTablecountry(), WTcountry\newRow(), and tr().
Referenced by WTrCreateCountry\handleRequest().
|
static |
called from CreateCustomer transaction
References $db, WOCustomerAbstract\fromTablecustomer(), WTcontact\newRow(), WTaddress\newRow(), WTcustomer\newRow(), and tr().
Referenced by WTrCreateCustomer\handleRequest().
|
static |
callback for the GetCreateCustomerHints transaction
References $cs, $db, WOContactType\fromTableArraycontacttype(), WOCountry\fromTableArraycountry(), WTcountry\selectFromDB(), and WTcontacttype\selectFromDB().
Referenced by WTrGetCreateCustomerHints\handleRequest().
|
static |
called from DeleteCustomer transaction
References $db, WOCustomerAbstract\fromTablecustomer(), WTcustomer\getFromDB(), WTcontact\selectFromDB(), WTaddress\selectFromDB(), WTorder\selectFromDB(), and tr().
Referenced by WTrDeleteCustomer\handleRequest().
|
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 |
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 $basevars, $db, $HTTPARGS, WebCart\getCart(), WTcart\getFromDB(), WTwebsession\getFromDB(), WOWebSession\getOrCreateWebSession(), isEmail(), WTaddress\newRow(), WTcustomer\newRow(), Session\passwdHash(), redirectHome(), WTcustomer\selectFromDB(), and WTaddress\selectFromDB().
|
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 |
the ResetCustomerPassword transaction
References $basevars, $CustomerResetTime, $DemoMailAddr, $IsDemoSystem, $mode, $page, WOCustomerAbstract\fromTablecustomer(), WTcustomer\getFromDB(), getRandom(), BaseVars\init(), BaseVars\initTwig(), isEmail(), and tr().
Referenced by WTrResetCustomerPassword\handleRequest().
|
static |
callback for the SendCustomerMail transaction
References $mode, $page, WTcustomer\getFromDB(), and isEmail().
Referenced by WTrSendCustomerMail\handleRequest().