class tree: 68Classifieds |
index: 68Classifieds |
all elements
Constructor Register (line 75)
checkUnique (line 274)
createCode (line 158)
createJavascriptValidation (line 608)
createSignup (line 297)
filterUserData (line 427)
getCleanVars (line 146)
getConfirmationCode (line 170)
getIP (line 180)
modifySignup (line 450)
resendConfirmation (line 256)
sendConfirmation (line 242)
setDirtyVars (line 135)
setUserData (line 124)
Register
Description
Manages user registration (new & modify)
Located in /includes/classes/kernel/Register.php (line 17)
Variable Summary
Method Summary
Methods
Constructor Register (line 75)
Register Constructor
- object database $int: Database functions
checkUnique (line 274)
Checks if a username or email address is unique, if an id is supplied it will check to see if this username or email address is unique excluding what is already stored for this user.
boolean
checkUnique
(string $username, string $email, [integer $id = false])
- string $username
- string $email
- integer $id
createCode (line 158)
Creates the confirmation code
void
createCode
(string $username)
- string $username
createJavascriptValidation (line 608)
Creates the javascript for when a user is modified.
void
createJavascriptValidation
()
createSignup (line 297)
Inserts a record into the users table
boolean
createSignup
(array $userDetails, [ $callHook = TRUE])
- array $userDetails: contains user details. See constants defined for array keys
- $callHook
filterUserData (line 427)
Filter user submitted data
- values are preserved, empty values other than 0 are converted to '', all html
void
filterUserData
()
getCleanVars (line 146)
Pubilc function to get the filtered "clean" variables
array
getCleanVars
()
getConfirmationCode (line 170)
Gets the confirmation code if it is needed externally
string
getConfirmationCode
()
getIP (line 180)
Gets the customers ip address
unknown
getIP
()
modifySignup (line 450)
Modifies a record into the signup table
boolean
modifySignup
(array $userDetails)
- array $userDetails: contains user details. See constants defined for array keys
resendConfirmation (line 256)
Resends the confirmation email
boolean
resendConfirmation
(integer $id)
- integer $id
sendConfirmation (line 242)
Sends the confirmation email
boolean
sendConfirmation
(integer $id)
- integer $id
setDirtyVars (line 135)
Public method to set dirty vars
void
setDirtyVars
( $userData)
- $userData
setUserData (line 124)
Sets the user data
void
setUserData
(array $userData)
- array $userData

