TwistPHP Documentation

firstname

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

firstnameGet/Returns the users firstname from the users account, passing in a value will set the users firstname

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