Article proposé
---------------
L'article "15. Criteria applicable to all loops" est proposé à la
publication.
Vous êtes invité à venir le consulter et à donner votre opinion
dans le forum qui lui est attaché. Il est disponible à l'adresse :
http://www.spip.net/ecrire/articles.php3?id_article=2085
** 15. Criteria applicable to all loops **
par Paolo
Some criteria can be applied to (nearly) all types of loop. They are
criteria which are used to restrict the number of results displayed or
else to control the sort order. You can combine several of these criteria
without any difficulty.
Sort Order
par sort_criterion gives the sort order of the displayed results. The sort
criterion corresponds to one of the tags which is drawn from the database
for each type of loop. So, for example, articles can be sorted using par
date, par date_redac or par titre. (Note that while tags are referenced
using capital letters, sort criteria are all in small (...)