TwistPHP Documentation

data

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

dataGet one or all of the values from the users data records, by passing in a value you can also set the value

Parameters

Name Type Description
[$strField = null]stringn/a
[$mxdValue = null]mixedn/a

Return Values

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

Example

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

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