__construct() __construct(mixed $username, mixed $password) __constructor Method checks user credentials are provided properly or not Parameters mixed $username mixed $password
checkUser() checkUser(mixed $username, mixed $password) : bool Determines whether an user exists or not Parameters mixed $username mixed $password Returns bool — true if success and false otherwise
getUserDetails() getUserDetails(int $userID) Fetches User Details from Database based on userID Parameters int $userID
setActiveCalendar() setActiveCalendar(mixed $userID, mixed $calIDs) Sets a calendar active Parameters mixed $userID mixed $calIDs