File path: dist/twist/Core/Models/Database/Record.model.php
Namespace: Twist\Core\Models\Database
__construct
— Construct the class with all the required data to make usable
Name | Description |
---|---|
$strDatabase | n/a |
$strTable | n/a |
$arrStructure | n/a |
$arrRecord | n/a |
[$blClone = false] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strDatabase = 'foo';
$strTable = 'foo';
$arrStructure = array(0 => 'foo', 1 => 'bar');
$arrRecord = array(0 => 'foo', 1 => 'bar');
$blClone = false;
//Call the function __construct with the example vars
$resRecord = new \Twist\Core\Models\Database\Record();
$resRecord -> __construct($strDatabase, $strTable, $arrStructure, $arrRecord, $blClone);