[ Index ] |
|
Code source de SPIP Agora 1.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 627 lignes (32 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
BD_articleListData:: (6 méthodes):
factory()
BD_articleListData()
displayHTMLList()
_articleHasPetition()
_getArticleAuthors()
_fillQueries()
Classe: BD_articleListData - X-Ref
This class implements data lists for Article business data typefactory($dbParameters = null) X-Ref |
Create a new article 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_articleListData() 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 |
_articleHasPetition($articleId) X-Ref |
returns whether or not there is an attached petition to a given article This method should be overloaded whenever the SQL request would not be compatible with de DB engine used. This method is "protected" param: int $articleId representing the article id return: boolean representing where or not there is a petition attached to the article |
_getArticleAuthors($articleId) X-Ref |
returns a formatted HTML String representing the article authors This method should be overloaded whenever the SQL request would not be compatible with de DB engine used. this method is "protected" param: int $articleId representing the article id return: String |
_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 |