File path: dist/twist/Core/Models/Database/TableStructure.model.php
Namespace: Twist\Core\Models\Database
copyTo
— Set a new table/database, this is only to be used when cloning/copying a database
Name | Description |
---|---|
$strTable | n/a |
[$strDatabase = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strTable = 'foo';
$strDatabase = null;
//Call the function copyTo with the example vars
$resTableStructure = new \Twist\Core\Models\Database\TableStructure();
$resTableStructure -> copyTo($strTable, $strDatabase);