TwistPHP Documentation

email

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

emailGet/Returns the users email address from the users account, passing in a value will set the users email address

Parameters

Name Type Description
[$strValue = null]stringn/a

Return Values

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

Example

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

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