File path: dist/twist/Core/Helpers/Database.helper.php
Namespace: Twist\Core\Helpers
Extends: Base
table
— Get, Create and Manipulate the structure of database tables using a table object. Truncate, Optimize, Rename and Drop tables with a single function call. All dependant on your database privileges.
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 table with the example vars
Twist::Database() -> table($strTable, $strDatabase);