[Documentation de SPIP] PUBLIE : 8. The AUTEURS Loop (Authors)

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

L'article "8. The AUTEURS Loop (Authors)" a été validé par George.

** 8. The AUTEURS Loop (Authors) **
par Paul Knight le mardi 7 octobre 2003

The AUTEURS loop, as its name indicates, returns a list of authors. If you
do not specify a selection criterion, the loop will return all the authors
with published articles.

<BOUCLEn(AUTEURS)criterion... >

Selection Criteria

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

tout all authors are selected, whether they have written an article or
not.

id_auteur returns the author identified by id_auteur. As the identifier
of each author is unique, this criterion will only return a single author
or none.

id_article (...)

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