CWIS Developer Documentation

- Home
- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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

Definition at line 38 of file User.php.

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

const U_DUPLICATEUSERNAME 6

Definition at line 24 of file User.php.

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

const U_EMAILSDONTMATCH 5

Definition at line 23 of file User.php.

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

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

Definition at line 29 of file User.php.

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

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

Definition at line 31 of file User.php.

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

const U_ILLEGALEMAILAGAIN 14

Definition at line 32 of file User.php.

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

const U_ILLEGALPASSWORD 9

Definition at line 27 of file User.php.

Referenced by User\ChangePassword(), User\GetStatusMessageForCode(), and UserEditingUI\UserFormHasErrors().

const U_ILLEGALPASSWORDAGAIN 10

Definition at line 28 of file User.php.

Referenced by UserEditingUI\UserFormHasErrors().

const U_ILLEGALUSERNAME 7

Definition at line 25 of file User.php.

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

const U_MAILINGERROR 18

Definition at line 36 of file User.php.

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

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

Definition at line 35 of file User.php.

Referenced by User\ChangePassword(), User\GetStatusMessageForCode(), User\GrantPriv(), User\RevokePriv(), User\Set(), and User\SetPrivList().

const U_OKAY 0

Definition at line 18 of file User.php.

Referenced by CWUser\__construct(), User\__construct(), User\ChangePassword(), UserFactory\CreateNewUser(), CWUserFactory\CreateNewUser(), User\CreateNewUserAndMailPassword(), User\Delete(), CWUser\Delete(), User\GetStatusMessageForCode(), User\GrantPriv(), CWUser\Login(), User\Login(), User\RevokePriv(), User\SendEMail(), User\Set(), CWUser\Set(), and UserEditingUI\TestUserValues().

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

Definition at line 22 of file User.php.

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

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().