File path: dist/twist/Core/Models/User/SessionHandler.model.php
Namespace: Twist\Core\Models\User
notifications
— Get and set the device notifications status, if set a new device being used to login will send an email notification to the user.
Name | Description |
---|---|
$intUserID | n/a |
[$blNotificationStatus = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intUserID = 124;
$blNotificationStatus = null;
//Call the function notifications with the example vars
$resSessionHandler = new \Twist\Core\Models\User\SessionHandler();
$resSessionHandler -> notifications($intUserID, $blNotificationStatus);