TwistPHP Documentation

charset

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

charsetSet the character set for the database table

Parameters

Name Type Description
$strCharsetstringn/a

Return Values

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

Example

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

//Call the function charset with the example vars
$resTableStructure = new \Twist\Core\Models\Database\TableStructure();
$resTableStructure -> charset($strCharset);