25 static protected $tAlternate;
35 if(!isset(self::$tAlternate[$uRef])){
36 self::$tAlternate[$uRef]=0;
38 self::$tAlternate[$uRef]+=1;
40 if(self::$tAlternate[$uRef] >= count($tab)){
41 self::$tAlternate[$uRef]=0;
43 return $tab[self::$tAlternate[$uRef] ];
static alternate($tab, $uRef=0)