This function emulates PEAR_MDB fetchRow() method.
With this method, MDB_QueryTool can transparently replace PEAR::MDB
Overridden in child classes as:
- MDB_QueryTool_Result_Object::fetchRow()
- This function emulates PEAR::MDB fetchRow() method With this function MDB_QueryTool can transparently replace PEAR::MDB
get the first result set we are not using next, current, and reset, since those ignore keys which are empty or 0
Overridden in child classes as:
- MDB_QueryTool_Result_Object::getFirst()
- get the first result set
mixed _returnRowOrValue(
array
$data)
|
|
Check if the row is a single value with a numeric index.
If so, return the value straight away, since the user probably called getCol() or getOne().
Parameters: