ActiveUserTrait
Table of Contents
Properties
- $userID : int
- Contact ID of the active/target user (whose access we must check).
Methods
- getUserID() : int
- setUser() : $this
Properties
$userID
Contact ID of the active/target user (whose access we must check).
private
int
$userID
0 for anonymous.
Methods
getUserID()
public
getUserID() : int
Return values
int —Contact ID of the active/target user (whose access we must check). 0 for anonymous.
setUser()
protected
setUser(int|null $userID) : $this
Parameters
- $userID : int|null
-
Contact ID of the active/target user (whose access we must check). 0 for anonymous.