프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$db | PDO | ||
$oss |
메소드 | 설명 | |
---|---|---|
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 ) |
메소드 | 설명 | |
---|---|---|
getUser ( $cond ) | ||
uploadAvatar ( $file ) |
public createUser ( &$uid, $token, $account, $alias, $password, $avatar = null ) : user's | ||
리턴 | user's |
public updateUser ( $token, $alias = null, $password = null, $avatar = null ) |