메소드 | 설명 | |
---|---|---|
__construct ( $args = [] ) | * __construct default constructor. Get current logged in user from session. | |
getPermissionLevel ( $username = null ) | * getPermissionLevel Returns current user permission level | |
isAuthenticated ( ) | Check if a user is authenticated (logged on) | |
login ( $username ) | * login Saves a user login | |
logout ( ) |
public getPermissionLevel ( $username = null ) | ||
$username |