TwistPHP Documentation

__construct

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

__constructConstruct the class with all the required data to make usable

Parameters

Name Type Description
$strDatabasestringn/a
$strTablestringn/a
[$arrStructure = array()]arrayn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strDatabase 'foo';
$strTable 'foo';
$arrStructure = array();

//Call the function __construct with the example vars
$resTableStructure = new \Twist\Core\Models\Database\TableStructure();
$resTableStructure -> __construct($strDatabase$strTable$arrStructure);