File path: dist/twist/Core/Models/Database/ProtocolJSON.model.php
Namespace: Twist\Core\Models\Database
Type: Model
ProtocolJSON
— {data:class-info/description}
<?php
//Set the variables for the example
$strTable = 'foo';
$arrFields = array(0 => 'foo', 1 => 'bar');
$strAutoIncrement = null;
//Call the function createTable with the example vars
$resProtocolJSON = new \Twist\Core\Models\Database\ProtocolJSON();
$resProtocolJSON -> createTable($strTable, $arrFields, $strAutoIncrement);
Method | Access | Returns |
---|---|---|
connect | public | void |
createDB | public | void |
createTable | public | void |
deleteTable | public | void |
getTableInfo | public | void |
insertRow | public | void |
selectRow | public | void |
updateRow | public | void |
deleteRow | public | void |
testDataValidity | protected | void |
processDataWhere | protected | void |
setError | public | void |
writeChanges | public | void |
processQueryTable | protected | void |
processQueryOptions | protected | void |
processQueryWhere | protected | void |
processQueryOrder | protected | void |
processQueryLimit | protected | void |
numberRows | public | void |
insertId | public | void |
affectedRows | public | void |
query | public | void |
fetchArray | public | void |
freeResult | public | void |
orderByColumn | public | void |