File path: dist/twist/Core/Models/Database/TableStructure.model.php
Namespace: Twist\Core\Models\Database
setFieldOrder
— Set the order of any given field by its name, this will adjust all other field accordingly
Name | Description |
---|---|
$strColumnName | n/a |
$intOrder | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strColumnName = 'foo';
$intOrder = 124;
//Call the function setFieldOrder with the example vars
$resTableStructure = new \Twist\Core\Models\Database\TableStructure();
$resTableStructure -> setFieldOrder($strColumnName, $intOrder);