File path: dist/twist/Core/Models/Database/ProtocolJSON.model.php
Namespace: Twist\Core\Models\Database
orderByColumn
—
Name | Description |
---|---|
$arrData | n/a |
$strColumn | n/a |
[$refDirection = SORT_ASC] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$arrData = array(0 => 'foo', 1 => 'bar');
$strColumn = 'foo';
$refDirection = SORT_ASC;
//Call the function orderByColumn with the example vars
$resProtocolJSON = new \Twist\Core\Models\Database\ProtocolJSON();
$resProtocolJSON -> orderByColumn($arrData, $strColumn, $refDirection);