TwistPHP Documentation

Table

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

Type: Model

Table — Simply create and maintain tables in an object orientated way with no need to write a SQL queries

Example Usage

<?php
//Set the variables for the example
$blAddTwistPrefix false;

//Call the function exists with the example vars
$resTable = new \Twist\Core\Models\Database\Table();
$resTable -> exists($blAddTwistPrefix);

Method List

Method Access Returns
__setTablepublicvoid
__setDatabasepublicvoid
existspublicvoid
getpublicvoid
createpublicvoid
structurepublicvoid
clearStructureCachepublicvoid
copypublicvoid
renamepublicvoid
optimizepublicvoid
truncatepublicvoid
droppublicvoid