TwistPHP Documentation

goToPage

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

goToPageRedirect the user to a relevant page when required

Parameters

Name Type Description
$strPageURIstringn/a
[$blReturnUserAfterLogin = false]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$strPageURI 'foo';
$blReturnUserAfterLogin false;

//Call the function goToPage with the example vars
Twist::User() -> goToPage($strPageURI$blReturnUserAfterLogin);