메소드 |
설명 |
|
__construct ( ) |
|
|
addUser ( $userLogin, $hashedPassword, $email, $alias, $tokenAuth, $dateRegistered ) |
|
|
addUserAccess ( $userLogin, $access, $idSites ) |
|
|
deleteUserAccess ( $userLogin, $idSites = null ) |
|
|
deleteUserOnly ( $userLogin ) |
|
|
getSitesAccessFromUser ( string $userLogin ) : array |
For each website ID, returns the access level of the given $userLogin. |
|
getUser ( $userLogin ) |
|
|
getUserByEmail ( $userEmail ) |
|
|
getUserByTokenAuth ( $tokenAuth ) |
|
|
getUsers ( array $userLogins ) : array |
Returns the list of all the users |
|
getUsersAccessFromSite ( $idSite ) |
|
|
getUsersHavingSuperUserAccess ( ) : array[] |
Note that this returns the token_auth which is as private as the password! |
|
getUsersLogin ( ) : array |
Returns the list of all the users login |
|
getUsersLoginWithSiteAccess ( $idSite, $access ) |
|
|
getUsersSitesFromAccess ( $access ) |
|
|
setSuperUserAccess ( $userLogin, $hasSuperUserAccess ) |
|
|
updateUser ( $userLogin, $hashedPassword, $email, $alias, $tokenAuth ) |
|
|
updateUserTokenAuth ( $userLogin, $tokenAuth ) |
|
|
userEmailExists ( $userEmail ) |
|
|
userExists ( $userLogin ) |
|
|