Lines Matching refs:i

365         for ($i = 0; $i < $n; $i++) {
367 if ((substr($instr[$i][0], 0, 12) == 'internallink')) {
368 $this->_convert_link($renderer, $instr[$i], $id);
370 else if ((substr($instr[$i][0], 0, 13) == 'internalmedia')) {
371 $this->_convert_media($renderer, $instr[$i], $id);
373 else if ((substr($instr[$i][0], 0, 6) == 'header')) {
374 … $this->_convert_header($renderer, $instr[$i], $depth-1); // -1 because the depth starts at 1
376 else if ((substr($instr[$i][0], 0, 12) == 'section_open')) {
377 … $this->_convert_section($renderer, $instr[$i], $depth-1); // -1 because the depth starts at 1
547 for ($i = $start; $i < $inCount; $i++) {
549 $instruction = $section[$i];
550 $end = $i; // Or it will be lost and a section close will be missing.
561 $start = $currentSlice = $i;
567 $end = $i; // Or it will be lost and a section close will be missing.
584 for( $i=0; $i<count($instr); $i++ ) {
586 $hasMoreEntries = count($instr)-1 > $i;
588 if ( $instr[$i][0] == 'header' ) {
593 if ( $instr[$i][1][0] == 'siteexport_toctools' && $instr[$i][1][0][0] != 'pagebreak' ) {
594 … if ( $currentMergeHint != null && $instr[$i][1][1][2] == $currentMergeHint[1][1][2] ) {
596 if ( $instr[$i][1][1][1] == 'end' ) {
599 for( $ii=$i+1; $ii<count($instr); $ii++ ) {
624 array_splice($instr, $i--, 1);
627 $currentMergeHint = $instr[$i];
628 $listOfMergeHintNames[] = $instr[$i][1][1][2];
641 for( $i=0; $i<count($instr); $i++ ) {
642 … if ( $instr[$i][1][0] == 'siteexport_toctools' && $instr[$i][1][0][0] != 'pagebreak' ) {
643 array_splice($instr, $i--, 1);
664 for ($i = 0; $i < $inCount; $i++) {
667 if ($i == $inCount-1) {
671 …g_match($tag, $instructions[$i][0]) && preg_match($tag, $instructions[$i+1][0]) && $instructions[$
685 array_splice($instructions, $i, 2);
687 $i--;
703 for ($i = 0; $i < $inCount; $i++) {
706 if ($i == $inCount-1) {
710 …if (!in_array($instructions[$i][0], array('header', 'section_open', 'section_close', 'p_open', 'p_…
712 array_splice($instructions, $i, 1);
714 $i--;