Join
Join PHP Methods
static convertState(\WMT\Container $container, string $miscStateOptionsHTML) v5
Convert states tilde code to the states HTML input field
PARAMETERS:
$container = object
$miscStateOptionsHTML = string, States options HTML template
RETURN VALUE:
string = Convert states tilde code to the states HTML input fieldstatic getExistsHTML(\WMT\Container $container, &$jsAdd) v5
Gets create account error messages as HTML
PARAMETERS:
$container = object
$jsAdd = string, Errors javascript content
RETURN VALUE:
string = create account error messages as HTMLstatic getExistsJS(string $exists, string $existsHTML) v5
Gets error message via javascript (showing the error in a popup)
PARAMETERS:
$exists = string, Error character:
* y => The Username you chose already exists, please select a different one
* e => The email you chose already exists, please select a different one.
* v => The email you entered is invalid.
* p => The email you entered does not match the email used to pay with.
* c => The verification code you entered does not match.
$existsHTML = string, Create account error HTML template
RETURN VALUE:
string = error message via javascript (showing the error in a popup)static getExistsText(string $exists) v5
Gets create account errors
PARAMETERS:
$exists = string, Error character:
* y => The Username you chose already exists, please select a different one
* e => The email you chose already exists, please select a different one.
* v => The email you entered is invalid.
* p => The email you entered does not match the email used to pay with.
* c => The verification code you entered does not match.
RETURN VALUE:
string = create account error messagestatic getFacebookLogin(\WMT\Container $container) v5
Gets Facebook signup button as HTML
PARAMETERS:
$container = object
RETURN VALUE:
string = Facebook signup button as HTMLstatic getFormCaptcha(\WMT\Container $container) v5
Get create account form captcha field
PARAMETERS:
$container = object
RETURN VALUE:
string = create account form captcha field as HTMLstatic getFreeMemberHTML(\WMT\Container $container, \WMT\SQL\Visit\Visitor $visitor) v5
Get free member form HTML (visible only to admin)
PARAMETERS:
$container = object
$visitor = object
RETURN VALUE:
string = free member form HTMLstatic getMembershipSelect(\WMT\Container $container) v5
Get membership select options as HTML
PARAMETERS:
$container = object
RETURN VALUE:
string = Membership select options as HTMLstatic getMultipleRequestSessionValues(array $check, &$wmtValidateSuccssAddJS) v5
Gets list of multiple request sessions
PARAMETERS:
$check = Array, Session names to check
$wmtValidateSuccssAddJS = string, validate requests javascript content
RETURN VALUE:
Array = list of multiple request sessionsstatic getRedirectURL(\WMT\Container $container) v5
Get create account redirect URL
PARAMETERS:
$container = object
RETURN VALUE:
string = Create account redirect URLstatic getRequestSession(string $fieldTitle, &$wmtValidateSuccssAddJS) v5
Get create account request session after validating it
PARAMETERS:
$fieldTitle = string, Request session field title
$wmtValidateSuccssAddJS = string, validate requests javascript content
RETURN VALUE:
string = create account request session value after validating itstatic getShowHTML(\WMT\Container $container, string $field) v5
Show / hide fields based on the settings
PARAMETERS:
$container = object
$field = string, Field name attribute
RETURN VALUE:
string = HTML content for the fields to showstatic loadPayPal(\WMT\Container $container) v5
Get Paypal button HTML content
PARAMETERS:
$container = object
RETURN VALUE:
string = Paypal button HTML contentJoin PHP Variables
🔎︎ %l4610%