class vB_dB_ArrayResult extends ArrayIterator implements Iterator

This class in intended to wrap an array for situations where a resultset can be constructed without hitting the database.

This is likely a result of a method query hitting some case where a default needs to be returned (and sending a query to the db to produce a known result is kind of silly).

it should match the vB_dB_Result interface as the two should be interchangable.

Traits

Methods

__sleep()

No description

__wakeup()

No description

__construct(vB_Database $db, array $recordset)

standard constructor

db()

No description

free()

No description

Details

in vB_Trait_NoSerialize at line 15
__sleep()

in vB_Trait_NoSerialize at line 20
__wakeup()

at line 41
__construct(vB_Database $db, array $recordset)

standard constructor

Parameters

vB_Database $db -- the standard vbulletin db object (not used but the result interface requires us to return it)
array $recordset -- array of arrays mimicing a db resultset

at line 48
db()

at line 53
free()