File path: dist/twist/Core/Models/Database/ProtocolJSON.model.php
Namespace: Twist\Core\Models\Database
testDataValidity
— Test to see if the fields that are passed in are correct / valid
Name | Description |
---|---|
$strTable | n/a |
$arrData | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strTable = 'foo';
$arrData = array(0 => 'foo', 1 => 'bar');
//Call the function testDataValidity with the example vars
$resProtocolJSON = new \Twist\Core\Models\Database\ProtocolJSON();
$resProtocolJSON -> testDataValidity($strTable, $arrData);