TYPO3 CMS  TYPO3_6-2
dbQuerySet Class Reference
Inheritance diagram for dbQuerySet:
dbObject dbObject

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)
 
- Public Member Functions inherited from dbObject
 dbObject (&$parent, $attributes=NULL)
 
 _tag_open (&$parser, $tag, $attributes)
 
 _tag_cdata (&$parser, $cdata)
 
 _tag_close (&$parser, $tag)
 
 create (&$xmls)
 
 destroy ()
 
 supportedPlatform ( $platform=NULL)
 
 prefix ( $name='')
 
 FieldID ( $field)
 
 dbObject (&$parent, $attributes=NULL)
 
 _tag_open (&$parser, $tag, $attributes)
 
 _tag_cdata (&$parser, $cdata)
 
 _tag_close (&$parser, $tag)
 
 create (&$xmls)
 
 destroy ()
 
 supportedPlatform ( $platform=NULL)
 
 prefix ( $name='')
 
 FieldID ( $field)
 

Public Attributes

 $queries = array()
 
 $query
 
 $prefixKey = ''
 
 $prefixMethod = 'AUTO'
 
- Public Attributes inherited from dbObject
 $parent
 
 $currentElement
 

Detailed Description

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

Member Function Documentation

◆ _tag_cdata() [1/2]

dbQuerySet::_tag_cdata ( $parser,
  $cdata 
)

XML Callback to process CDATA elements

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

◆ _tag_cdata() [2/2]

dbQuerySet::_tag_cdata ( $parser,
  $cdata 
)

XML Callback to process CDATA elements

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

◆ _tag_close() [1/2]

dbQuerySet::_tag_close ( $parser,
  $tag 
)

XML Callback to process end elements

private

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

References dbObject\create(), and dbObject\destroy().

◆ _tag_close() [2/2]

dbQuerySet::_tag_close ( $parser,
  $tag 
)

XML Callback to process end elements

private

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

References dbObject\create(), and dbObject\destroy().

◆ _tag_open() [1/2]

dbQuerySet::_tag_open ( $parser,
  $tag,
  $attributes 
)

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

private

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

References dbObject\supportedPlatform().

◆ _tag_open() [2/2]

dbQuerySet::_tag_open ( $parser,
  $tag,
  $attributes 
)

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

private

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

References dbObject\supportedPlatform().

◆ addQuery() [1/2]

dbQuerySet::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.

◆ addQuery() [2/2]

dbQuerySet::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() [1/2]

dbQuerySet::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.

References $sql.

◆ buildQuery() [2/2]

dbQuerySet::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.

References $sql.

◆ create() [1/2]

dbQuerySet::create ( $xmls)

Creates and returns the current query set

Parameters
object$xmlsadoSchema object
Returns
array Query set

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

◆ create() [2/2]

dbQuerySet::create ( $xmls)

Creates and returns the current query set

Parameters
object$xmlsadoSchema object
Returns
array Query set

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

◆ dbQuerySet() [1/2]

dbQuerySet::dbQuerySet ( $parent,
  $attributes = NULL 
)

Initializes the query set.

Parameters
object$parentParent object
array$attributesAttributes

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

References dbObject\$parent.

◆ dbQuerySet() [2/2]

dbQuerySet::dbQuerySet ( $parent,
  $attributes = NULL 
)

Initializes the query set.

Parameters
object$parentParent object
array$attributesAttributes

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

References dbObject\$parent.

◆ discardQuery() [1/2]

dbQuerySet::discardQuery ( )

Discards the existing query.

Returns
boolean TRUE

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

◆ discardQuery() [2/2]

dbQuerySet::discardQuery ( )

Discards the existing query.

Returns
boolean TRUE

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

◆ newQuery() [1/2]

dbQuerySet::newQuery ( )

Re-initializes the query.

Returns
boolean TRUE

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

◆ newQuery() [2/2]

dbQuerySet::newQuery ( )

Re-initializes the query.

Returns
boolean TRUE

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

◆ prefixQuery() [1/2]

dbQuerySet::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.

◆ prefixQuery() [2/2]

dbQuerySet::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.

References dbObject\$currentElement.

Member Data Documentation

◆ $prefixKey

dbQuerySet::$prefixKey = ''

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

◆ $prefixMethod

dbQuerySet::$prefixMethod = 'AUTO'

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

◆ $queries

dbQuerySet::$queries = array()

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

◆ $query

dbQuerySet::$query

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