[ Index ]

PHP Cross Reference of MyBB 1.8.26

title

Body

[close]

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

MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license

File Size: 1854 lines (51 kb)
Included or required: 21 times
Referenced: 0 times
Includes or requires: 4 files
 inc/class_moderation.php
 inc/functions_upload.php
 inc/class_parser.php
 inc/functions_user.php

Defines 1 class

UserDataHandler:: (31 methods):
  verify_username()
  verify_usertitle()
  verify_username_exists()
  verify_password()
  verify_usergroup()
  verify_email()
  verify_website()
  verify_icq()
  verify_birthday()
  verify_birthday_privacy()
  verify_postnum()
  verify_threadnum()
  verify_profile_fields()
  verify_referrer()
  verify_options()
  verify_regdate()
  verify_lastvisit()
  verify_lastactive()
  verify_away()
  verify_language()
  verify_style()
  verify_checkfields()
  verify_timezone()
  validate_user()
  insert_user()
  update_user()
  delete_user()
  delete_content()
  delete_posts()
  clear_profile()
  verify_signature()


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.
return: boolean True when valid, false when invalid.

verify_usertitle()   X-Ref
Verifies if a usertitle is valid or invalid.
return: 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_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_threadnum()   X-Ref
Verifies if the thread 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 language is valid for this user or not.
return: boolean True when valid, false when invalid.

verify_style()   X-Ref
Verifies if a style 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.

verify_timezone()   X-Ref
Verifies if the user timezone is valid.
If the timezone is invalid, the board default is used.

return: boolean True when timezone was valid, false otherwise

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.
return: array

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

delete_user($delete_uids, $prunecontent=0)   X-Ref
Provides a method to completely delete a user.
param: array $delete_uids Array of user information
param: integer $prunecontent Whether if delete threads/posts or not
return: array

delete_content($delete_uids=false)   X-Ref
Provides a method to delete users' content
param: array|bool $delete_uids Array of user ids, false if they're already set (eg when using the delete_user function)

delete_posts($delete_uids=false)   X-Ref
Provides a method to delete an users posts and threads
param: array|bool $delete_uids Array of user ids, false if they're already set (eg when using the delete_user function)

clear_profile($delete_uids=false, $gid=0)   X-Ref
Provides a method to clear an users profile
param: array|bool $delete_uids Array of user ids, false if they're already set (eg when using the delete_user function)
param: int $gid The new usergroup if the users should be moved (additional usergroups are always removed)

verify_signature()   X-Ref
No description



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref