Public Member Functions | |
User (&$SessionOrDb, $UserInfo=NULL) | |
Status () | |
StatusMessage ($StatusCode=NULL) | |
Delete () | |
Id () | |
Name () | |
LastLocation ($NewLocation=NULL) | |
LastActiveDate () | |
LastIPAddress () | |
Get ($FieldName) | |
GetDate ($FieldName, $Format="") | |
Set ($FieldName, $NewValue) | |
Login ($UserName, $Password, $IgnorePassword=FALSE) | |
Logout () | |
IsLoggedIn () | |
IsNotLoggedIn () | |
ChangePassword ($OldPassword, $NewPassword, $NewPasswordAgain) | |
SetPassword ($NewPassword) | |
CreateNewUserWithEMailedPassword ($UserName, $EMail, $EMailAgain, $TemplateFile="Axis--User--EMailTemplate.txt") | |
CreateNewUserAndMailPasswordFromFile ($UserName, $EMail, $EMailAgain, $TemplateFile="Axis--User--EMailTemplate.txt") | |
CreateNewUserAndMailPassword ($UserName, $EMail, $EMailAgain, $EMailSubject, $EMailBody) | |
GetActivationCode () | |
IsActivationCodeGood ($Code) | |
IsActivated ($NewValue=DB_NOVALUE) | |
GetResetCode () | |
IsResetCodeGood ($Code) | |
SendEMail ($TemplateTextOrFileName, $FromAddress=NULL, $MoreSubstitutions=NULL) | |
HasPriv ($Privilege, $Privilege2=NULL, $Privilege3=NULL, $Privilege4=NULL, $Privilege5=NULL, $Privilege6=NULL) | |
GrantPriv ($Privilege) | |
RevokePriv ($Privilege) | |
GetPrivList () | |
SetPrivList ($NewPrivileges) | |
GetUniqueCode ($SeedString, $CodeLength) | |
IsValidUserName ($UserName) | |
IsValidPassword ($Password) | |
IsValidLookingEMailAddress ($EMail) | |
NormalizeEMailAddress ($EMailAddress) | |
NormalizeUserName ($UserName) | |
NormalizePassword ($Password) | |
GetRandomPassword ($PasswordMinLength=6, $PasswordMaxLength=8) | |
UpdateValue ($FieldName, $NewValue=DB_NOVALUE) | |
GivePriv ($Privilege) | |
Public Attributes | |
$DB | |
$Session | |
$UserId | |
$Result | |
$LoggedIn | |
$DBFields |
Definition at line 42 of file Axis--User.php.
User::ChangePassword | ( | $ | OldPassword, | |
$ | NewPassword, | |||
$ | NewPasswordAgain | |||
) |
Definition at line 325 of file Axis--User.php.
References IsLoggedIn(), IsValidPassword(), NormalizePassword(), and SetPassword().
User::CreateNewUserAndMailPassword | ( | $ | UserName, | |
$ | EMail, | |||
$ | EMailAgain, | |||
$ | EMailSubject, | |||
$ | EMailBody | |||
) |
Definition at line 400 of file Axis--User.php.
References $Result, GetRandomPassword(), IsValidLookingEMailAddress(), and Set().
Referenced by CreateNewUserAndMailPasswordFromFile().
User::CreateNewUserAndMailPasswordFromFile | ( | $ | UserName, | |
$ | EMail, | |||
$ | EMailAgain, | |||
$ | TemplateFile = "Axis--User--EMailTemplate.txt" | |||
) |
Definition at line 387 of file Axis--User.php.
References CreateNewUserAndMailPassword().
Referenced by CreateNewUserWithEMailedPassword().
User::CreateNewUserWithEMailedPassword | ( | $ | UserName, | |
$ | EMail, | |||
$ | EMailAgain, | |||
$ | TemplateFile = "Axis--User--EMailTemplate.txt" | |||
) |
User::Delete | ( | ) |
Definition at line 163 of file Axis--User.php.
User::Get | ( | $ | FieldName | ) |
Definition at line 214 of file Axis--User.php.
References UpdateValue().
Referenced by GetUniqueCode(), LastActiveDate(), LastIPAddress(), LastLocation(), Name(), and SendEMail().
User::GetActivationCode | ( | ) |
Definition at line 461 of file Axis--User.php.
References GetUniqueCode().
Referenced by IsActivationCodeGood(), and SendEMail().
User::GetDate | ( | $ | FieldName, | |
$ | Format = "" | |||
) |
Definition at line 220 of file Axis--User.php.
User::GetPrivList | ( | ) |
Definition at line 656 of file Axis--User.php.
User::GetRandomPassword | ( | $ | PasswordMinLength = 6 , |
|
$ | PasswordMaxLength = 8 | |||
) |
Definition at line 741 of file Axis--User.php.
Referenced by CreateNewUserAndMailPassword().
User::GetResetCode | ( | ) |
Definition at line 482 of file Axis--User.php.
References GetUniqueCode().
Referenced by IsResetCodeGood(), and SendEMail().
User::GetUniqueCode | ( | $ | SeedString, | |
$ | CodeLength | |||
) |
Definition at line 682 of file Axis--User.php.
References Get().
Referenced by GetActivationCode(), and GetResetCode().
User::GivePriv | ( | $ | Privilege | ) |
User::GrantPriv | ( | $ | Privilege | ) |
Definition at line 612 of file Axis--User.php.
Referenced by GivePriv(), and SetPrivList().
User::HasPriv | ( | $ | Privilege, | |
$ | Privilege2 = NULL , |
|||
$ | Privilege3 = NULL , |
|||
$ | Privilege4 = NULL , |
|||
$ | Privilege5 = NULL , |
|||
$ | Privilege6 = NULL | |||
) |
User::Id | ( | ) |
Definition at line 179 of file Axis--User.php.
Referenced by SPTUser::SPTUser(), and SPTUser::UUPUpdateValue().
User::IsActivated | ( | $ | NewValue = DB_NOVALUE |
) |
User::IsActivationCodeGood | ( | $ | Code | ) |
User::IsLoggedIn | ( | ) |
Definition at line 318 of file Axis--User.php.
Referenced by ChangePassword(), HasPriv(), and SPTUser::SPTUser().
User::IsNotLoggedIn | ( | ) |
Definition at line 319 of file Axis--User.php.
User::IsResetCodeGood | ( | $ | Code | ) |
User::IsValidLookingEMailAddress | ( | $ | ) |
Definition at line 713 of file Axis--User.php.
Referenced by CreateNewUserAndMailPassword(), and UserFactory::TestNewUserValues().
User::IsValidPassword | ( | $ | Password | ) |
Definition at line 706 of file Axis--User.php.
References NormalizePassword().
Referenced by ChangePassword(), and UserFactory::TestNewUserValues().
User::IsValidUserName | ( | $ | UserName | ) |
Definition at line 700 of file Axis--User.php.
Referenced by UserFactory::TestNewUserValues().
User::LastActiveDate | ( | ) |
User::LastIPAddress | ( | ) |
User::LastLocation | ( | $ | NewLocation = NULL |
) |
User::Login | ( | $ | UserName, | |
$ | Password, | |||
$ | IgnorePassword = FALSE | |||
) |
User::Logout | ( | ) |
Definition at line 304 of file Axis--User.php.
User::Name | ( | ) |
User::NormalizeEMailAddress | ( | $ | EMailAddress | ) |
Definition at line 720 of file Axis--User.php.
Referenced by UserFactory::EMailAddressIsInUse(), and UserFactory::TestNewUserValues().
User::NormalizePassword | ( | $ | Password | ) |
Definition at line 734 of file Axis--User.php.
Referenced by ChangePassword(), IsValidPassword(), SetPassword(), and UserFactory::TestNewUserValues().
User::NormalizeUserName | ( | $ | UserName | ) |
Definition at line 727 of file Axis--User.php.
Referenced by UserFactory::CreateNewUser(), Login(), UserFactory::TestNewUserValues(), and UserFactory::UserNameExists().
User::RevokePriv | ( | $ | Privilege | ) |
Definition at line 644 of file Axis--User.php.
User::SendEMail | ( | $ | TemplateTextOrFileName, | |
$ | FromAddress = NULL , |
|||
$ | MoreSubstitutions = NULL | |||
) |
Definition at line 497 of file Axis--User.php.
References $Result, Get(), GetActivationCode(), GetResetCode(), and Status().
User::Set | ( | $ | FieldName, | |
$ | NewValue | |||
) |
Definition at line 238 of file Axis--User.php.
References UpdateValue().
Referenced by CreateNewUserAndMailPassword().
User::SetPassword | ( | $ | NewPassword | ) |
Definition at line 370 of file Axis--User.php.
References NormalizePassword(), and UpdateValue().
Referenced by ChangePassword().
User::SetPrivList | ( | $ | NewPrivileges | ) |
User::Status | ( | ) |
Definition at line 120 of file Axis--User.php.
Referenced by SendEMail().
User::StatusMessage | ( | $ | StatusCode = NULL |
) |
Definition at line 126 of file Axis--User.php.
User::UpdateValue | ( | $ | FieldName, | |
$ | NewValue = DB_NOVALUE | |||
) |
Definition at line 752 of file Axis--User.php.
Referenced by Get(), IsActivated(), Set(), and SetPassword().
User::User | ( | &$ | SessionOrDb, | |
$ | UserInfo = NULL | |||
) |
Definition at line 46 of file Axis--User.php.
Referenced by SPTUser::SPTUser().
User::$DB |
User::$DBFields |
Definition at line 697 of file Axis--User.php.
User::$LoggedIn |
Definition at line 696 of file Axis--User.php.
User::$Result |
Definition at line 695 of file Axis--User.php.
Referenced by CreateNewUserAndMailPassword(), and SendEMail().
User::$Session |
User::$UserId |
Definition at line 694 of file Axis--User.php.