TwistPHP Documentation

setData

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

setData

Parameters

Name Type Description
$strFieldstringn/a
$mxdValuemixedn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strField 'foo';
$mxdValue 'foo-123';

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