TwistPHP Documentation

level

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

levelGet/Returns the users level ID from the users account, passing in a value will set the users level

Parameters

Name Type Description
[$intLevel = null]integern/a

Return Values

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

Example

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

//Call the function level with the example vars
$resUser = new \Twist\Core\Models\User\User();
$resUser -> level($intLevel);