abstract class vB_dB_QueryDefs

Traits

Properties

protected $db_type The database type
protected $table_data This is the definition for tables we will process through. It saves a
protected $query_data This is the definition for queries we will process through. We could also put them in the database, but this eliminates a query.

Methods

__sleep()

No description

__wakeup()

No description

mixed
getTableData()

This returns the table definitions

mixed
getQueryData()

This returns the query definitions

getResultSet(object $db, string $sql)

Returns the resultset for a particular query string

Details

in vB_Trait_NoSerialize at line 15
__sleep()

in vB_Trait_NoSerialize at line 20
__wakeup()

at line 87
mixed getTableData()

This returns the table definitions

Return Value

mixed

at line 97
mixed getQueryData()

This returns the query definitions

Return Value

mixed

at line 111
protected getResultSet(object $db, string $sql)

Returns the resultset for a particular query string

Intend for use by method queries to reduce repetative code and increase standardization

Parameters

object $db -- the internal db connection object for this DB type
string $sql -- the query string for this DB type.