Web Marketing Tool
Reseller
WMT .
DoJoin
Referred By: Web Marketing Tool
Login

DoJoin





DoJoin PHP Methods

static captchaPass(\WMT\Container $container) v5

Validate captcha input
PARAMETERS:
$container = object
RETURN VALUE:
bool = True if the CAPTCHA is valid, false otherwise

static checkConfirmEmail(\WMT\Settings\Core $settingsCore, \WMT\SQL\Visit\Visitor $visitor) v5

Checks if member's email is confirmed. if not confirmed it redirects to the email confirmation page
PARAMETERS:
$settingsCore = object
$visitor = object
RETURN VALUE:
void

static checkConfirmPhone(\WMT\Settings\Core $settingsCore, \WMT\SQL\Visit\Visitor $visitor) v5

Checks if a member has phone number confirmed. It redirects to confirm phone page if not confirmed
PARAMETERS:
$settingsCore = object
$visitor = object
RETURN VALUE:
void

static checkPayRedirect(\WMT\Container $container, \WMT\SQL\Visit\Visitor $visitor, \WMT\SQL\Member\Membership $membership) v5

Go to payment redirect URL
PARAMETERS:
$container = object
$visitor = object
$membership = object
RETURN VALUE:
void

static checkRedirect(\WMT\Settings\Core $settingsCore, \WMT\SQL\Member\Membership $membership, \WMT\SQL\Member\Member $member) v5

Redirects to create an account redirect page. can use joinredirect session to enforce redirect
PARAMETERS:
$settingsCore = object
$membership = object
$member = object
RETURN VALUE:
void

static checkUsernameSpam(\WMT\MySQL $mysqli, string $username) v5

Checks if username is a spam (redirects to google if username is a spam)
PARAMETERS:
$mysqli = object
$username = string, New member Username
RETURN VALUE:
void

static clearSessions() v5

Clear create an account session variables
PARAMETERS:
NONE
RETURN VALUE:
void

static getCanJoin(\WMT\Container $container, \WMT\SQL\Visit\Visitor $visitor, \WMT\SQL\Member\Membership $membership, string $email) v5

Checks if someone can create an account using the join page
PARAMETERS:
$container = object
$visitor = object
$membership = object
$email = string, New member email
RETURN VALUE:
bool = True the visitor can create an account, false otherwise

static getFailureURL(\WMT\Container $container, \WMT\SQL\Member\Membership $membership, int $parentID) v5

Gets bad username action URL
PARAMETERS:
$container = object
$membership = object
$parentID = int, Parent ID
RETURN VALUE:
string = bad username action URL

static getMembership(\WMT\Container $container, int $membershipID) v5

Gets new member membership
PARAMETERS:
$container = object
$membershipID = int, Membership ID
RETURN VALUE:
object = \WMT\SQL\Member\Membership

static getUsername(\WMT\Container $container, string $firstName, string $email) v5

Generate a username for the new account
PARAMETERS:
$container = object
$firstName = string, New member first name
$email = string, New member email
RETURN VALUE:
string = New member username

static setFailureMessage(\WMT\Input\Post $inputPost, string $firstname, string $email, int $membershipID, string $existMessage) v5

Set create an account failure message
PARAMETERS:
$inputPost = object
$firstname = string, New member firstname
$email = string, New member email
$membershipID = int, New member membership ID
$existMessage = string, Failure Message content
RETURN VALUE:
void

DoJoin PHP Variables

🔎︎ %l4610%




DMCA.com Protection Status Authorize.net
Valid HTML! Valid CSS!


Reseller: WMT
|
Login
(502) 225-3237