CWIS Developer Documentation
Classes | Variables
User.php File Reference

Go to the source code of this file.

Classes

class  User
 

Variables

const U_OKAY 0
 
const U_ERROR 1
 
const U_BADPASSWORD 2
 
const U_NOSUCHUSER 3
 
const U_PASSWORDSDONTMATCH 4
 
const U_EMAILSDONTMATCH 5
 
const U_DUPLICATEUSERNAME 6
 
const U_ILLEGALUSERNAME 7
 
const U_EMPTYUSERNAME 8
 
const U_ILLEGALPASSWORD 9
 
const U_ILLEGALPASSWORDAGAIN 10
 
const U_EMPTYPASSWORD 11
 
const U_EMPTYPASSWORDAGAIN 12
 
const U_ILLEGALEMAIL 13
 
const U_ILLEGALEMAILAGAIN 14
 
const U_EMPTYEMAIL 15
 
const U_EMPTYEMAILAGAIN 16
 
const U_NOTLOGGEDIN 17
 
const U_MAILINGERROR 18
 
const U_TEMPLATENOTFOUND 19
 
const U_DUPLICATEEMAIL 20
 
const U_NOTACTIVATED 21
 
const U_PASSWORDCONTAINSUSERNAME 22
 
const U_PASSWORDCONTAINSEMAIL 23
 
const U_PASSWORDTOOSHORT 24
 
const U_PASSWORDTOOSIMPLE 25
 
const U_PASSWORDNEEDSPUNCTUATION 26
 
const U_PASSWORDNEEDSMIXEDCASE 27
 
const U_PASSWORDNEEDSDIGIT 28
 

Variable Documentation

const U_BADPASSWORD 2

Definition at line 20 of file User.php.

Referenced by User\ChangePassword(), User\GetStatusMessageForCode(), and User\Login().

const U_DUPLICATEEMAIL 20
const U_DUPLICATEUSERNAME 6
const U_EMAILSDONTMATCH 5
const U_EMPTYEMAIL 15

Definition at line 33 of file User.php.

Referenced by UserFactory\TestNewUserValues(), and UserEditingUI\UserFormHasErrors().

const U_EMPTYEMAILAGAIN 16

Definition at line 34 of file User.php.

Referenced by UserFactory\TestNewUserValues(), and UserEditingUI\UserFormHasErrors().

const U_EMPTYPASSWORD 11
const U_EMPTYPASSWORDAGAIN 12

Definition at line 30 of file User.php.

Referenced by UserFactory\TestNewUserValues(), and UserEditingUI\UserFormHasErrors().

const U_EMPTYUSERNAME 8

Definition at line 26 of file User.php.

Referenced by UserFactory\TestNewUserValues(), and UserEditingUI\UserFormHasErrors().

const U_ERROR 1

Definition at line 19 of file User.php.

Referenced by User\GetStatusMessageForCode(), and User\GrantPriv().

const U_ILLEGALEMAIL 13
const U_ILLEGALEMAILAGAIN 14

Definition at line 32 of file User.php.

Referenced by UserFactory\TestNewUserValues(), and UserEditingUI\UserFormHasErrors().

const U_ILLEGALPASSWORD 9
const U_ILLEGALPASSWORDAGAIN 10

Definition at line 28 of file User.php.

Referenced by UserEditingUI\UserFormHasErrors().

const U_ILLEGALUSERNAME 7
const U_MAILINGERROR 18
const U_NOSUCHUSER 3

Definition at line 21 of file User.php.

Referenced by User\__construct(), User\GetStatusMessageForCode(), and User\Login().

const U_NOTACTIVATED 21

Definition at line 39 of file User.php.

Referenced by User\Login().

const U_NOTLOGGEDIN 17
const U_OKAY 0
const U_PASSWORDCONTAINSEMAIL 23

Definition at line 41 of file User.php.

Referenced by User\CheckPasswordForErrors(), and User\GetStatusMessageForCode().

const U_PASSWORDCONTAINSUSERNAME 22

Definition at line 40 of file User.php.

Referenced by User\CheckPasswordForErrors(), and User\GetStatusMessageForCode().

const U_PASSWORDNEEDSDIGIT 28

Definition at line 46 of file User.php.

Referenced by User\CheckPasswordForErrors(), and User\GetStatusMessageForCode().

const U_PASSWORDNEEDSMIXEDCASE 27

Definition at line 45 of file User.php.

Referenced by User\CheckPasswordForErrors(), and User\GetStatusMessageForCode().

const U_PASSWORDNEEDSPUNCTUATION 26

Definition at line 44 of file User.php.

Referenced by User\CheckPasswordForErrors(), and User\GetStatusMessageForCode().

const U_PASSWORDSDONTMATCH 4
const U_PASSWORDTOOSHORT 24

Definition at line 42 of file User.php.

Referenced by User\CheckPasswordForErrors(), and User\GetStatusMessageForCode().

const U_PASSWORDTOOSIMPLE 25

Definition at line 43 of file User.php.

Referenced by User\CheckPasswordForErrors(), and User\GetStatusMessageForCode().

const U_TEMPLATENOTFOUND 19

Definition at line 37 of file User.php.

Referenced by User\GetStatusMessageForCode(), and User\SendEMail().