Moodle  2.2.1
http://www.collinsharper.com
dbQuerySet Class Reference
Inheritance diagram for dbQuerySet:
Collaboration diagram for dbQuerySet:

Public Member Functions

 dbQuerySet (&$parent, $attributes=NULL)
 _tag_open (&$parser, $tag, $attributes)
 _tag_cdata (&$parser, $cdata)
 _tag_close (&$parser, $tag)
 newQuery ()
 discardQuery ()
 buildQuery ($sql=NULL)
 addQuery ()
 create (&$xmls)
 prefixQuery ($regex, $query, $prefix=NULL)
 dbQuerySet (&$parent, $attributes=NULL)
 _tag_open (&$parser, $tag, $attributes)
 _tag_cdata (&$parser, $cdata)
 _tag_close (&$parser, $tag)
 newQuery ()
 discardQuery ()
 buildQuery ($sql=NULL)
 addQuery ()
 create (&$xmls)
 prefixQuery ($regex, $query, $prefix=NULL)

Data Fields

 $queries = array()
 $query
 $prefixKey = ''
 $prefixMethod = 'AUTO'

Detailed Description

Definition at line 960 of file adodb-xmlschema.inc.php.


Member Function Documentation

_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Reimplemented from dbObject.

Definition at line 1040 of file adodb-xmlschema.inc.php.

Here is the call graph for this function:

_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Reimplemented from dbObject.

Definition at line 1139 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:

_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Reimplemented from dbObject.

Definition at line 1056 of file adodb-xmlschema.inc.php.

Here is the call graph for this function:

_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Reimplemented from dbObject.

Definition at line 1155 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:

_tag_open ( &$  parser,
tag,
attributes 
)

XML Callback to process start elements. Elements currently processed are: QUERY.

private

Reimplemented from dbObject.

Definition at line 1018 of file adodb-xmlschema.inc.php.

Here is the call graph for this function:

_tag_open ( &$  parser,
tag,
attributes 
)

XML Callback to process start elements. Elements currently processed are: QUERY.

private

Reimplemented from dbObject.

Definition at line 1117 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:

addQuery ( )

Adds a completed query to the query list

Returns:
string SQL of added query

Definition at line 1117 of file adodb-xmlschema.inc.php.

Here is the caller graph for this function:

addQuery ( )

Adds a completed query to the query list

Returns:
string SQL of added query

Definition at line 1216 of file adodb-xmlschema03.inc.php.

buildQuery ( sql = NULL)

Appends a line to a query that is being built line by line

Parameters:
string$dataLine of SQL data or NULL to initialize a new query
Returns:
string SQL query string.

Definition at line 1102 of file adodb-xmlschema.inc.php.

Here is the caller graph for this function:

buildQuery ( sql = NULL)

Appends a line to a query that is being built line by line

Parameters:
string$dataLine of SQL data or NULL to initialize a new query
Returns:
string SQL query string.

Definition at line 1201 of file adodb-xmlschema03.inc.php.

create ( &$  xmls)

Creates and returns the current query set

Parameters:
object$xmlsadoSchema object
Returns:
array Query set

Reimplemented from dbObject.

Definition at line 1135 of file adodb-xmlschema.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

create ( &$  xmls)

Creates and returns the current query set

Parameters:
object$xmlsadoSchema object
Returns:
array Query set

Reimplemented from dbObject.

Definition at line 1234 of file adodb-xmlschema03.inc.php.

Here is the call graph for this function:

dbQuerySet ( &$  parent,
attributes = NULL 
)

Initializes the query set.

Parameters:
object$parentParent object
array$attributesAttributes

Definition at line 988 of file adodb-xmlschema.inc.php.

dbQuerySet ( &$  parent,
attributes = NULL 
)

Initializes the query set.

Parameters:
object$parentParent object
array$attributesAttributes

Definition at line 1087 of file adodb-xmlschema03.inc.php.

Discards the existing query.

Returns:
boolean TRUE

Definition at line 1090 of file adodb-xmlschema.inc.php.

Here is the caller graph for this function:

Discards the existing query.

Returns:
boolean TRUE

Definition at line 1189 of file adodb-xmlschema03.inc.php.

newQuery ( )

Re-initializes the query.

Returns:
boolean TRUE

Definition at line 1079 of file adodb-xmlschema.inc.php.

Here is the caller graph for this function:

newQuery ( )

Re-initializes the query.

Returns:
boolean TRUE

Definition at line 1178 of file adodb-xmlschema03.inc.php.

prefixQuery ( regex,
query,
prefix = NULL 
)

Rebuilds the query with the prefix attached to any objects

Parameters:
string$regexRegex used to add prefix
string$querySQL query string
string$prefixPrefix to be appended to tables, indices, etc.
Returns:
string Prefixed SQL query string.

Definition at line 1177 of file adodb-xmlschema.inc.php.

Here is the caller graph for this function:

prefixQuery ( regex,
query,
prefix = NULL 
)

Rebuilds the query with the prefix attached to any objects

Parameters:
string$regexRegex used to add prefix
string$querySQL query string
string$prefixPrefix to be appended to tables, indices, etc.
Returns:
string Prefixed SQL query string.

Definition at line 1276 of file adodb-xmlschema03.inc.php.


Field Documentation

$prefixKey = ''

Definition at line 975 of file adodb-xmlschema.inc.php.

$prefixMethod = 'AUTO'

Definition at line 980 of file adodb-xmlschema.inc.php.

$queries = array()

Definition at line 965 of file adodb-xmlschema.inc.php.

$query

Definition at line 970 of file adodb-xmlschema.inc.php.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Enumerations