Smutty


Smutty.Smutty_Database_MySQL_Result

Class Smutty_Database_MySQL_Result

Smutty_Object
|
+--Smutty_Database_Result
|
+--Smutty_Database_MySQL_Result

public class Smutty_Database_MySQL_Result
extends Smutty_Database_Result

implementation of the Result class for mysql

/


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

fetchAssoc()

tries to fetch the next record as a hash, false if there isn't anything to fetch

Object

fetchObject()

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

Constructor Detail

Smutty_Database_MySQL_Result

public Smutty_Database_MySQL_Result(mixed res)

Method Detail

fetch

public array fetch()

tries to fetch the next record as an array, false if there isn't anything to fetch

Go to code

fetchAssoc

public hash fetchAssoc()

tries to fetch the next record as a hash, false if there isn't anything to fetch

Go to code

fetchObject

public Object fetchObject()

tries to fetch the next record as an object, false if there isn't anything to fetch

Go to code

toArray

public array toArray()

returns the rows in this resultset as an array

Go to code

Smutty