[ 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/ -> forumlistdata.php (sommaire)

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

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

Définit 1 class

BD_forumListData:: (4 méthodes):
  factory()
  BD_forumListData()
  displayHTMLList()
  _fillQueries()


Classe: BD_forumListData  - X-Ref

This class implements data lists for Forum business data type

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

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

BD_forumListData()   X-Ref
Abstract Constructor.


displayHTMLList($queryType, $params = array()   X-Ref
returns the HTML List for the various forum 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