iterateur = $iteratorName; # designe la classe d'iterateur $b->show = array( 'field' => array( 'cle' => 'STRING', 'valeur' => 'STRING', ) ); foreach (get_class_methods($iteratorName) as $method) { $b->show['field'][ strtolower($method) ] = 'METHOD'; } /* foreach (get_class_vars($iteratorName) as $property) { $b->show['field'][ strtolower($property) ] = 'PROPERTY'; } */ return $b; } ?>