TwistPHP Documentation

__construct

File path: dist/twist/Core/Helpers/Session.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

__constructEasy session management allowing the use of a user and site array of data. All stored using the PHP session.
Also extends the View helper to allow the use of session vars in templates.

Return Values

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

Example

<?php
//Call the function __construct with the example vars
Twist::Session() -> __construct();