TwistPHP Documentation

selectRow

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

selectRowSelect record(s) from a table

Parameters

Name Type Description
$strTablestringn/a
[$arrWhere = array()]arrayn/a
[$arrOrder = array()]arrayn/a
[$arrLimit = array()]arrayn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strTable 'foo';
$arrWhere = array();
$arrOrder = array();
$arrLimit = array();

//Call the function selectRow with the example vars
$resProtocolJSON = new \Twist\Core\Models\Database\ProtocolJSON();
$resProtocolJSON -> selectRow($strTable$arrWhere$arrOrder$arrLimit);