3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2014 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
14 if (!defined('_ECRIRE_INC_VERSION')) return;
16 include_spip('iterateur/data');
19 // creer une boucle sur un iterateur CONDITION
20 // annonce au compilo les "champs" disponibles
22 function iterateur_CONDITION_dist($b) {
23 $b->iterateur
= 'CONDITION'; # designe la classe d'iterateur
31 class IterateurCONDITION
extends IterateurData
{
32 protected function select($command) {
33 $this->tableau
= array(0=>1);