A criterion can sometimes be written in a simplified form: {criterion}
. In such cases, SPIP normally translates this as {criteria=#CRITERIA}
(unless a special function has been defined for this particular criterion in ecrire/public/criteres.php).
<BOUCLEx(TABLES){criterion}>...
Example
<BOUCLE_art(ARTICLES){id_article}>...
In this example, {id_article}
makes the selection {id_article=#ID_ARTICLE}
. Just as with any SPIP tag, #ID_ARTICLE
is retrieved, if present, from the closest containing loops, otherwise it is retrieved from the environment, as if you had written #ENV{id_article}
.