registerUser
in package
Plugin class
Tags
Table of Contents
Properties
- $admin_email : mixed
- $admin_name : mixed
- $link : mixed
- $message : mixed
- $notify : mixed
- $user : mixed
Methods
- getLink() : string
- Gets the register user link
- getQuizFieldQuestion() : string|bool
- Gets the the question to a quiz field if the field is enabled and setup correctly
- getUserInfo() : array<string|int, mixed>
- Processes the post of an address
- postProcessor() : mixed
- Processes the user registration submission
- printForm() : mixed
- Parses the verification and registration if they have occurred places the user registration form
- printLink() : mixed
- prints the link to the register user page
Properties
$admin_email
public
static mixed
$admin_email
= ''
$admin_name
public
static mixed
$admin_name
= ''
$link
public
static mixed
$link
= ''
$message
public
static mixed
$message
= ''
$notify
public
static mixed
$notify
= ''
$user
public
static mixed
$user
= ''
Methods
getLink()
Gets the register user link
public
static getLink() : string
Return values
stringgetQuizFieldQuestion()
Gets the the question to a quiz field if the field is enabled and setup correctly
public
static getQuizFieldQuestion([string $which = '' ]) : string|bool
Parameters
- $which : string = ''
Tags
Return values
string|boolgetUserInfo()
Processes the post of an address
public
static getUserInfo(int $i) : array<string|int, mixed>
Parameters
- $i : int
-
sequence number of the comment
Return values
array<string|int, mixed>postProcessor()
Processes the user registration submission
public
static postProcessor() : mixed
Tags
printForm()
Parses the verification and registration if they have occurred places the user registration form
public
static printForm([string $thanks = null ]) : mixed
Parameters
- $thanks : string = null
-
the message shown on successful registration
Tags
printLink()
prints the link to the register user page
public
static printLink(string $linktext[, string $prev = '' ][, string $next = '' ][, string $class = NULL ]) : mixed
Parameters
- $linktext : string
-
text for the link
- $prev : string = ''
-
text to insert before the URL
- $next : string = ''
-
text to follow the URL
- $class : string = NULL
-
optional class