Smutty_Object
|
+--Smutty_Database_Result
|
+--Smutty_Database_MySQL_Result
public class Smutty_Database_MySQL_Result
extends Smutty_Database_Result
| Constructor Summary | |
|---|---|
Smutty_Database_MySQL_Result(mixed res) |
|
| Method Summary | |
|---|---|
| array | fetch() tries to fetch the next record as an array, false if there isn't anything to fetch |
| hash | tries to fetch the next record as a hash, false if there isn't anything to fetch |
| Object | tries to fetch the next record as an object, false if there isn't anything to fetch |
| array | toArray() returns the rows in this resultset as an array |
| Methods inherited from Smutty.Smutty_Database_Result | |
|---|---|
| fetch, fetchAssoc, fetchObject, toArray | |
public Smutty_Database_MySQL_Result(mixed res)
public array fetch()
tries to fetch the next record as an array, false if there isn't anything to fetch
public hash fetchAssoc()
tries to fetch the next record as a hash, false if there isn't anything to fetch
public Object fetchObject()
tries to fetch the next record as an object, false if there isn't anything to fetch
public array toArray()
returns the rows in this resultset as an array
implementation of the Result class for mysql
/