Users()
create()
deleteUserByID()
deleteUserByUsername()
getAccessibleUsers()
$db
$table
Users(string $table)
stringThe table to use as information source
create(string $username) : int
stringSpecifies the username
intUserid of created userdeleteUserByID(string $userid) : bool
stringSpecifies the user ID
boolTrue if the delete was successfuldeleteUserByUsername($username) : bool
boolTrue if the delete was successfulgetAccessibleUsers(array $perms, bool $includeAdmins) : array
arrayPermissions array
boolFlag to get admins (admin and sysadmin) too
arrayArray of user objects$db : object
| access | private |
|---|
$table : string
| access | private |
|---|