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

BD_newsletterInstanceListData is a base class for newsletter instances lists data database abstraction implementations, and must be inherited by all such.

Author: Antoine Angénieux <aangenieux@clever-age.com>
Author: Erwan Le Bescond <elebescond@clever-age.com>
Poids: 285 lignes (12 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

BD_newsletterInstanceListData:: (5 méthodes):
  factory()
  BD_newsletterInstanceListData()
  displayHTMLList()
  displayHTMLListWithPercentage()
  _fillQueries()


Classe: BD_newsletterInstanceListData  - X-Ref

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

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

BD_newsletterInstanceListData()   X-Ref
Abstract Constructor.


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

displayHTMLListWithPercentage($titre_table, $queryType, $params = array()   X-Ref
returns the HTML List for the various article data lists implementations
This method should <b>NEVER<b> be overloaded, otherwise EXTRA-EXTRA-CARE is required
while overloading this method.
One thing has been added to this function to permit some action via button

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