TwistPHP Documentation

__setTable

File path: dist/twist/Core/Models/Database/Records.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
$resRecords = new \Twist\Core\Models\Database\Records();
$resRecords -> __setTable($strTable);