Свойство | Type | Description | |
---|---|---|---|
$db | PDO | ||
$oss |
Méthode | Description | |
---|---|---|
createUser ( &$uid, $token, $account, $alias, $password, $avatar = null ) : user's | create user | |
deleteUserByAccount ( $account ) | ||
getCurrentUser ( $token ) | get current user info | |
getUserByAccount ( $account ) | ||
getUserByAlias ( $alias ) | ||
getUserByIds ( $uids, $asDict = false ) | get users info | |
updateUser ( $token, $alias = null, $password = null, $avatar = null ) | modify user's information | |
verifyPassword ( $account, $password ) |
Méthode | Description | |
---|---|---|
getUser ( $cond ) | ||
uploadAvatar ( $file ) |
public createUser ( &$uid, $token, $account, $alias, $password, $avatar = null ) : user's | ||
Résultat | user's |
public updateUser ( $token, $alias = null, $password = null, $avatar = null ) |