File path: dist/twist/Core/Models/Database/ProtocolJSON.model.php
Namespace: Twist\Core\Models\Database
createTable
—
Name | Description |
---|---|
$strTable | n/a |
$arrFields | n/a |
[$strAutoIncrement = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strTable = 'foo';
$arrFields = array(0 => 'foo', 1 => 'bar');
$strAutoIncrement = null;
//Call the function createTable with the example vars
$resProtocolJSON = new \Twist\Core\Models\Database\ProtocolJSON();
$resProtocolJSON -> createTable($strTable, $arrFields, $strAutoIncrement);