[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Agora1-4/ecrire/include/bd/ -> syndiclistdata.php (sommaire)

BD_syndicListData is a base class for syndic lists data database abstraction implementations, and must be inherited by all such.

Poids: 577 lignes (20 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

BD_syndicListData:: (5 méthodes):
  factory()
  BD_syndicListData()
  displayHTMLList()
  displaySyndicArticleHTMLList()
  _fillQueries()


Classe: BD_syndicListData  - X-Ref

This class implements data lists for Syndic business data type

factory($dbParameters = null)   X-Ref
Create a new syndic list data object for the specified database parameters
passed

param: BD_parameters $dbParameters database configuration object
return: mixed a newly created SyndicListData object, or a PEAR error code on

BD_syndicListData()   X-Ref
Constructor.


displayHTMLList($titre_table, $queryType, $params = array()   X-Ref
returns the HTML List for the various syndic data lists implementations
This method should <b>NEVER<b> be overloaded, otherwise EXTRA-EXTRA-CARE is required
while overloading this method.

param: $queryType int representing the desired query type (refer to inc_listdata_query_types_contants.php)
param: $params array containing the query parameters
param: $countQuery boolean : if set to true, the returned query is a count result query for the specified query type.
return: String reprensenting the generated HTML list navigation

displaySyndicArticleHTMLList($titre_table, $queryType, $params = array()   X-Ref
returns the HTML List for the various syndic article data lists implementations
This method should <b>NEVER<b> be overloaded, otherwise EXTRA-EXTRA-CARE is required
while overloading this method.

param: $queryType int representing the desired query type (refer to inc_listdata_query_types_contants.php)
param: $params array containing the query parameters
param: $countQuery boolean : if set to true, the returned query is a count result query for the specified query type.
return: String reprensenting the generated HTML list navigation

_fillQueries()   X-Ref
This methods fill the query associative arrays with SQL 92 compliant
queries. Each driver that requires specific SQL querying must implement
the _adaptQueriesToDriver() method.




Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7