spoof
 All Data Structures Namespaces Files Functions Variables Pages
Query Class Reference
Inheritance diagram for Query:
Collaboration diagram for Query:

Public Member Functions

 __construct ($query=NULL, array $values=NULL)
 addQuery (IQuery $query)
 addString ($query, $hintSpace=TRUE)
 addValues (array $values)
 setString ($query)

Data Fields

 $query
 $values

Detailed Description

Database query class This class is used by language implementations to pass instructions to executor implementations.


Constructor & Destructor Documentation

__construct (   $query = NULL,
array  $values = NULL 
)

Constructor

Parameters:
string$queryinitial query string, optional, default NULL
array$valuesinitial values associative array, optional, default NULL

Implements IQuery.


Member Function Documentation

addQuery ( IQuery  $query)

Adds query object to current query object

Parameters:
IQuery$queryobject to add

Implements IQuery.

Here is the call graph for this function:

addString (   $query,
  $hintSpace = TRUE 
)

Adds string to query object

Parameters:
string$querystring to add
$hintSpacehints use of space prior to appending, optional, default TRUE

Implements IQuery.

Here is the caller graph for this function:

addValues ( array  $values)

Adds values array to query object

Parameters:
array$valuesarray to append

Implements IQuery.

Here is the caller graph for this function:

setString (   $query)

Sets string query value

Parameters:
string$querystring to set

Implements IQuery.


Field Documentation

$query

String query property

$values

Array values property


The documentation for this class was generated from the following file: