[Documentation de SPIP] PUBLIE : 10. The MOTS Loop (Keywords)

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

L'article "10. The MOTS Loop (Keywords)" a été validé par George
Kandalaft.

** 10. The MOTS Loop (Keywords) **
par Paul Knight le jeudi 16 octobre 2003

The MOTS loop returns a list of keywords.

<BOUCLEn(MOTS)criterion... > Criteria of selection

You should use one of the following criteria to indicate which keywords
are selected.

tout, i.e. "all", selects all keywords from the whole site.

id_mot returns the keyword identified by id_mot.

id_groupe returns the keywords associated with the keyword group numbered
id_groupe. [SPIP 1.4]

id_article returns the keywords associated with this article (this is the
most common use of this loop).

(...)

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