TwistPHP Documentation

createCode

File path: dist/twist/Core/Models/User/SessionHandler.model.php
Namespace: Twist\Core\Models\User
Extends:

createCodeCreate a session key for use PHP session

Parameters

Name Type Description
$intUserIDintegern/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$intUserID 124;

//Call the function createCode with the example vars
$resSessionHandler = new \Twist\Core\Models\User\SessionHandler();
$resSessionHandler -> createCode($intUserID);