Documentation TYPO3 par Ameos

dbQuerySet Class Reference

Inheritance diagram for dbQuerySet:
[legend]
Collaboration diagram for dbQuerySet:
[legend]
List of all members.

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 Attributes

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

Detailed Description

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


Member Function Documentation

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

Initializes the query set.

Parameters:
object $parent Parent object
array $attributes Attributes

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

References dbObject::$parent, and $prefixMethod.

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

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

private

Reimplemented from dbObject.

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

References discardQuery(), newQuery(), and dbObject::supportedPlatform().

dbQuerySet::_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Reimplemented from dbObject.

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

References buildQuery().

dbQuerySet::_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Reimplemented from dbObject.

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

References addQuery(), dbObject::create(), and dbObject::destroy().

dbQuerySet::newQuery (  ) 

Re-initializes the query.

Returns:
boolean TRUE

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

Referenced by _tag_open().

dbQuerySet::discardQuery (  ) 

Discards the existing query.

Returns:
boolean TRUE

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

Referenced by _tag_open().

dbQuerySet::buildQuery ( sql = NULL  ) 

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

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

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

Referenced by _tag_cdata().

dbQuerySet::addQuery (  ) 

Adds a completed query to the query list

Returns:
string SQL of added query

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

Referenced by _tag_close().

dbQuerySet::create ( &$  xmls  ) 

Creates and returns the current query set

Parameters:
object $xmls adoSchema object
Returns:
array Query set

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

References $query, and prefixQuery().

dbQuerySet::prefixQuery ( regex,
query,
prefix = NULL 
)

Rebuilds the query with the prefix attached to any objects

Parameters:
string $regex Regex used to add prefix
string $query SQL query string
string $prefix Prefix to be appended to tables, indices, etc.
Returns:
string Prefixed SQL query string.

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

References $query.

Referenced by create().

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

Initializes the query set.

Parameters:
object $parent Parent object
array $attributes Attributes

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

References dbObject::$parent, and $prefixMethod.

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

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

private

Reimplemented from dbObject.

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

References discardQuery(), newQuery(), and dbObject::supportedPlatform().

dbQuerySet::_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Reimplemented from dbObject.

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

References buildQuery().

dbQuerySet::_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Reimplemented from dbObject.

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

References addQuery(), dbObject::create(), and dbObject::destroy().

dbQuerySet::newQuery (  ) 

Re-initializes the query.

Returns:
boolean TRUE

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

dbQuerySet::discardQuery (  ) 

Discards the existing query.

Returns:
boolean TRUE

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

dbQuerySet::buildQuery ( sql = NULL  ) 

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

Parameters:
string $data Line 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.

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.

dbQuerySet::create ( &$  xmls  ) 

Creates and returns the current query set

Parameters:
object $xmls adoSchema object
Returns:
array Query set

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

References $query, and prefixQuery().

dbQuerySet::prefixQuery ( regex,
query,
prefix = NULL 
)

Rebuilds the query with the prefix attached to any objects

Parameters:
string $regex Regex used to add prefix
string $query SQL query string
string $prefix Prefix to be appended to tables, indices, etc.
Returns:
string Prefixed SQL query string.

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

References $query.


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


Généré par TYPO3 Ameos avec  doxygen 1.4.6