TwistPHP Documentation

__construct

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

__constructUser constructor.

Parameters

Name Type Description
$resDatabaseRecordresourcen/a
$resParentClassresourcen/a

Return Values

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

Example

<?php
//Set the variables for the example
$resDatabaseRecord = (resource);
$resParentClass = (resource);

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