TwistPHP Documentation

surname

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

surnameGet/Returns the users surname from the users account, passing in a value will set the users surname

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 surname with the example vars
$resUser = new \Twist\Core\Models\User\User();
$resUser -> surname($strValue);