Solutions Open Source

Référence de la classe dbQuerySet

Graphe d'héritage de dbQuerySet:

Inheritance graph
[légende]
Graphe de collaboration de dbQuerySet:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 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)

Attributs publics

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


Documentation des fonctions membres

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

Initializes the query set.

Paramètres:
object $parent Parent object
array $attributes Attributes

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

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

private

Réimplémentée à partir de dbObject.

dbQuerySet::_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Réimplémentée à partir de dbObject.

dbQuerySet::_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Réimplémentée à partir de dbObject.

dbQuerySet::newQuery (  ) 

Re-initializes the query.

Renvoie:
boolean TRUE

dbQuerySet::discardQuery (  ) 

Discards the existing query.

Renvoie:
boolean TRUE

dbQuerySet::buildQuery ( sql = NULL  ) 

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

Paramètres:
string $data Line of SQL data or NULL to initialize a new query
Renvoie:
string SQL query string.

dbQuerySet::addQuery (  ) 

Adds a completed query to the query list

Renvoie:
string SQL of added query

dbQuerySet::create ( &$  xmls  ) 

Creates and returns the current query set

Paramètres:
object $xmls adoSchema object
Renvoie:
array Query set

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

Rebuilds the query with the prefix attached to any objects

Paramètres:
string $regex Regex used to add prefix
string $query SQL query string
string $prefix Prefix to be appended to tables, indices, etc.
Renvoie:
string Prefixed SQL query string.

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

Initializes the query set.

Paramètres:
object $parent Parent object
array $attributes Attributes

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

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

private

Réimplémentée à partir de dbObject.

dbQuerySet::_tag_cdata ( &$  parser,
cdata 
)

XML Callback to process CDATA elements

Réimplémentée à partir de dbObject.

dbQuerySet::_tag_close ( &$  parser,
tag 
)

XML Callback to process end elements

private

Réimplémentée à partir de dbObject.

dbQuerySet::newQuery (  ) 

Re-initializes the query.

Renvoie:
boolean TRUE

dbQuerySet::discardQuery (  ) 

Discards the existing query.

Renvoie:
boolean TRUE

dbQuerySet::buildQuery ( sql = NULL  ) 

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

Paramètres:
string $data Line of SQL data or NULL to initialize a new query
Renvoie:
string SQL query string.

dbQuerySet::addQuery (  ) 

Adds a completed query to the query list

Renvoie:
string SQL of added query

dbQuerySet::create ( &$  xmls  ) 

Creates and returns the current query set

Paramètres:
object $xmls adoSchema object
Renvoie:
array Query set

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

Rebuilds the query with the prefix attached to any objects

Paramètres:
string $regex Regex used to add prefix
string $query SQL query string
string $prefix Prefix to be appended to tables, indices, etc.
Renvoie:
string Prefixed SQL query string.


Documentation des données membres

dbQuerySet::$queries = array()

dbQuerySet::$query

dbQuerySet::$prefixKey = ''

dbQuerySet::$prefixMethod = 'AUTO'


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Fri Aug 31 11:40:52 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3