Lines Matching refs:i
107 for ($i = 0; $i < $levelsQty; ++$i) {
109 if (ctype_alpha($dataTab[$i])) {
110 $COUNTER[$counterID][$i] = $dataTab[$i];
111 $class .= '_' . $dataTab[$i];
113 … } else if (preg_match('/(' . $this->NUMBER_PATTERN . ')/', $dataTab[$i], $matches))
114 if ($i == $currentLevel)
115 $COUNTER[$counterID][$i] = $matches[1]-1;
117 $COUNTER[$counterID][$i] = $matches[1];
119 … else if ((!isset($COUNTER[$counterID][$i])) || ($COUNTER[$counterID][$i] == 0))
120 if ($i == $currentLevel)
121 $COUNTER[$counterID][$i] = 0;
123 $COUNTER[$counterID][$i] = 1;
128 for ($i = $currentLevel+1; $i < $counter_levelsQty; ++$i)
129 $COUNTER[$counterID][$i] = 0;
137 for ($i = 0; $i < $levelsQty; ++$i) {
138 $number .= $period . $COUNTER[$counterID][$i];
139 if (ctype_alpha($COUNTER[$counterID][$i])) {
171 for ($i = 0; $i < $qtyOccurrences; $i++) {
172 … list($number, $null) = $this->handle($matches[0][$i], DOKU_LEXER_SPECIAL, NULL, $handler);
173 $pageContent = preg_replace('(' . $matches[0][$i] . ')', $number, $pageContent, 1);