TwistPHP Documentation

Session

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

Type: Utility

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

Example Usage

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

Method List

Method Access Returns
__constructconstructvoid
startpublicvoid
getSessionIDpublicvoid
datapublicvoid
nullDatapublicvoid
deletepublicvoid
removepublicvoid
viewExtensionpublicvoid