TwistPHP Documentation

__setTable

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

__setTableSet the table that is being used in the current request

Parameters

Name Type Description
$strTablestringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strTable 'foo';

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