TwistPHP Documentation

exists

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

existsTest to see if a database table exists already, returns a boolean stats for the table

Parameters

Name Type Description
[$blAddTwistPrefix = false]booleann/a

Return Values

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

Example

<?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);