TYPO3 CMS  TYPO3_7-6
dbQuerySet Class Reference
Inheritance diagram for dbQuerySet:
dbObject dbObject

Public Member Functions

 __construct (&$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)
 
 __construct (&$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
 __construct (&$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)
 
 __construct (&$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 959 of file adodb-xmlschema.inc.php.

Constructor & Destructor Documentation

◆ __construct() [1/2]

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

Initializes the query set.

Parameters
object$parentParent object
array$attributesAttributes

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

References dbObject\$parent.

◆ __construct() [2/2]

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

Initializes the query set.

Parameters
object$parentParent object
array$attributesAttributes

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

References dbObject\$parent.

Member Function Documentation

◆ _tag_cdata() [1/2]

dbQuerySet::_tag_cdata ( $parser,
  $cdata 
)

XML Callback to process CDATA elements

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

◆ _tag_cdata() [2/2]

dbQuerySet::_tag_cdata ( $parser,
  $cdata 
)

XML Callback to process CDATA elements

Definition at line 1138 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 1055 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 1154 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 1017 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 1116 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 1116 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 1215 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 1101 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 1200 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 1134 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 1233 of file adodb-xmlschema03.inc.php.

◆ discardQuery() [1/2]

dbQuerySet::discardQuery ( )

Discards the existing query.

Returns
boolean TRUE

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

◆ discardQuery() [2/2]

dbQuerySet::discardQuery ( )

Discards the existing query.

Returns
boolean TRUE

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

◆ newQuery() [1/2]

dbQuerySet::newQuery ( )

Re-initializes the query.

Returns
boolean TRUE

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

◆ newQuery() [2/2]

dbQuerySet::newQuery ( )

Re-initializes the query.

Returns
boolean TRUE

Definition at line 1177 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 1176 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 1275 of file adodb-xmlschema03.inc.php.

References dbObject\$currentElement.

Member Data Documentation

◆ $prefixKey

dbQuerySet::$prefixKey = ''

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

◆ $prefixMethod

dbQuerySet::$prefixMethod = 'AUTO'

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

◆ $queries

dbQuerySet::$queries = array()

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

◆ $query

dbQuerySet::$query

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