[Documentation de SPIP] PUBLIE : 7. The BREVES Loop

Article publié
--------------

L'article "7. The BREVES Loop" a été validé par George.

** 7. The BREVES Loop **
par mathieu à bidon.ca le mardi 16 septembre 2003

The BREVES loop, as its French name indicates, returns a list of news
items.

<BOUCLEn(BREVES)criterion...>

The selection criteria

We will use one of the following criteria to indicate how we will select
the element:

tout, e.g. "all", will select all the news items available on the site.

id_breve returns the news item identified by id_breve. Since the
identifier of each news item is unique, this criterion will return one or
naught response.

id_rubrique returns all the news items available in the current section
(rubrique).

[SPIP 1.2] id_mot (...)

-> http://www.spip.net/spip_redirect.php3?id_article=2064