UNB Components Code Reference

user.class.php contents

This file contains the UnbUser class.

Classes

UnbUser
UnbUserKey
UnbUserVcardVisibility

Constants

Public_ 0 Visible for all users Line 17
Internal 1 Visible only to registered and logged in users Line 19
Confidential 2 Visible only to trusted users Line 21
Private_ 3 Visible only to the owner user Line 23
System 1 The system key for the system itself Line 31
Administrator 2 The system key for administrative users Line 33
Moderator 3 The system key for moderator users Line 35
Trusted 4 The system key for trusted users Line 37
DefaultUser 5 The system key for a virtual default user, used for default user configuration settings. This key must not be assigned to any user as additional key. Line 40
KeyLength 5 Length of new user ID numbers (decimal digits). This must be in the range of 2...9. The key length is used to generate new user IDs. Any length of user IDs is compatible, so the key length can be changed at any time. When you're running out of keys, increasing the key length is recommended. Longer keys have no worse performance than shorter keys, they just... "look longer". Line 55
RequireSecurePassword false Determines whether a secure password is required for users. Line 58

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.