TwistPHP Documentation

User

File path: dist/twist/Core/Utilities/User.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

Type: Utility

User — User management and control allowing users to register, login and be updated Functionality to edit, reset passwords, send welcome emails with session management for multi and single devices

Example Usage

<?php
//Set the variables for the example
$strKey null;

//Call the function loggedInData with the example vars
Twist::User() -> loggedInData($strKey);

Method List

Method Access Returns
__constructconstructvoid
loggedInpublicvoid
loggedInDatapublicvoid
loggedInIDpublicvoid
loggedInLevelpublicvoid
currentpublicvoid
currentIDpublicvoid
currentLevelpublicvoid
authenticatepublicvoid
logoutpublicvoid
getRegistrationFormpublicvoid
getLoginFormpublicvoid
getForgottenPasswordFormpublicvoid
getChangePasswordFormpublicvoid
afterLoginRedirectpublicvoid
setAfterLoginRedirectpublicvoid
getAfterLoginRedirectpublicvoid
clearAfterLoginRedirectpublicvoid
goToPageprotectedvoid
getpublicvoid
createpublicvoid
getDatapublicvoid
getByEmailpublicvoid
getDetailsByIDpublicvoid
getAllpublicvoid
getAllByLevelpublicvoid
getLevelpublicvoid
getLevelspublicvoid
verifyEmailpublicvoid
base64url_encodeprotectedvoid
base64url_decodeprotectedvoid
updatePasswordpublicvoid
changePasswordpublicvoid
setCustomTemplateLocationpublicvoid
viewExtensionpublicvoid