[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/datahandlers/ -> user.php (summary)

MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved Website: http://mybb.com License: http://mybb.com/about/license

File Size: 1345 lines (37 kb)
Included or required: 10 times
Referenced: 0 times
Includes or requires: 1 file
 inc/functions_user.php

Defines 1 class

UserDataHandler:: (24 methods):
  verify_username()
  verify_usertitle()
  verify_username_exists()
  verify_password()
  verify_usergroup()
  verify_email()
  verify_website()
  verify_icq()
  verify_msn()
  verify_birthday()
  verify_birthday_privacy()
  verify_postnum()
  verify_profile_fields()
  verify_referrer()
  verify_options()
  verify_regdate()
  verify_lastvisit()
  verify_lastactive()
  verify_away()
  verify_language()
  verify_checkfields()
  validate_user()
  insert_user()
  update_user()


Class: UserDataHandler  - X-Ref

User handling class, provides common structure to handle user data.

verify_username()   X-Ref
Verifies if a username is valid or invalid.

param: boolean True when valid, false when invalid.

verify_usertitle()   X-Ref
Verifies if a usertitle is valid or invalid.

param: boolean True when valid, false when invalid.

verify_username_exists()   X-Ref
Verifies if a username is already in use or not.

return: boolean False when the username is not in use, true when it is.

verify_password()   X-Ref
Verifies if a new password is valid or not.

return: boolean True when valid, false when invalid.

verify_usergroup()   X-Ref
Verifies usergroup selections and other group details.

return: boolean True when valid, false when invalid.

verify_email()   X-Ref
Verifies if an email address is valid or not.

return: boolean True when valid, false when invalid.

verify_website()   X-Ref
Verifies if a website is valid or not.

return: boolean True when valid, false when invalid.

verify_icq()   X-Ref
Verifies if an ICQ number is valid or not.

return: boolean True when valid, false when invalid.

verify_msn()   X-Ref
Verifies if an MSN Messenger address is valid or not.

return: boolean True when valid, false when invalid.

verify_birthday()   X-Ref
Verifies if a birthday is valid or not.

return: boolean True when valid, false when invalid.

verify_birthday_privacy()   X-Ref
Verifies if the birthday privacy option is valid or not.

return: boolean True when valid, false when invalid.

verify_postnum()   X-Ref
Verifies if the post count field is filled in correctly.

return: boolean True when valid, false when invalid.

verify_profile_fields()   X-Ref
Verifies if a profile fields are filled in correctly.

return: boolean True when valid, false when invalid.

verify_referrer()   X-Ref
Verifies if an optionally entered referrer exists or not.

return: boolean True when valid, false when invalid.

verify_options()   X-Ref
Verifies user options.

return: boolean True when valid, false when invalid.

verify_regdate()   X-Ref
Verifies if a registration date is valid or not.

return: boolean True when valid, false when invalid.

verify_lastvisit()   X-Ref
Verifies if a last visit date is valid or not.

return: boolean True when valid, false when invalid.

verify_lastactive()   X-Ref
Verifies if a last active date is valid or not.

return: boolean True when valid, false when invalid.

verify_away()   X-Ref
Verifies if an away mode status is valid or not.

return: boolean True when valid, false when invalid.

verify_language()   X-Ref
Verifies if a langage is valid for this user or not.

return: boolean True when valid, false when invalid.

verify_checkfields()   X-Ref
Verifies if this is coming from a spam bot or not

return: boolean True when valid, false when invalid.

validate_user()   X-Ref
Validate all user assets.

return: boolean True when valid, false when invalid.

insert_user()   X-Ref
Inserts a user into the database.


update_user()   X-Ref
Updates a user in the database.




Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1