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

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

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

Définit 1 class

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


Classe: BD_messageListData  - X-Ref

This class implements data lists for message list business data type

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

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

BD_messageListData()   X-Ref
Constructor.


_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.


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



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