Article proposé
---------------
L'article "14. The HIERARCHIE (Hierarchy) Loop" 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=2099
** 14. The HIERARCHIE (Hierarchy) Loop **
par Paolo
The HIERARCHIE loop is based on a different principle to that of other
loops. Rather than simply pulling a list out of the database, it gives
recursive results.
The loop returns a list of the SECTIONS which lead from the root of the
site to the current section or article.
<BOUCLEn(HIERARCHIE)criterion...>
Selection criteria
One or other of the following criteria is used:
id_rubrique returns the list of sections from the root up to the section
corresponding to the identifier.
id_article returns the list of sections from the root up to the article
corresponding to the identifier.
Display criteria
(...)