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

BD_newsletterListData is a base class for newsletter 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: 195 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

BD_newsletterListData:: (5 méthodes):
  factory()
  BD_newsletterListData()
  displayHTMLList()
  _fillQueries()
  getTabModelePlusQueued()


Classe: BD_newsletterListData  - X-Ref

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

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

BD_newsletterListData()   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

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


getTabModelePlusQueued()   X-Ref
This function will return an array organized, depending on your newsletter
It will help to manage multiples letters and be able to consult the percentage of launch letter




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