ZenphotoCMS 1.6.5

registerUser

Plugin class

Tags
since
1.6.5
  • Renamed from register_user to registerUser

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

Methods

Gets the register user link

public static getLink() : string
Return values
string

getQuizFieldQuestion()

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
since
1.6.5
Return values
string|bool

getUserInfo()

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
global

obj $_zp_authority

global

obj $_zp_captcha

global

obj $_zp_gallery

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
since
1.6.5

– Moved to registerUser class and renamed to printForm()

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

Tags
since
1.6.5

– Moved to registerUser class and renamed to printLink()


        
On this page

Search results