| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter) |
||
| 31 | { |
||
| 32 | list($levels, $foreachLevels) = $this->checkLevels($args, $compiler, 'continue'); |
||
| 33 | $output = "<?php\n"; |
||
| 34 | if ($foreachLevels > 1) { |
||
| 35 | /* @var Smarty_Internal_Compile_Foreach $foreachCompiler */ |
||
| 36 | $foreachCompiler = $compiler->getTagCompiler('foreach'); |
||
| 37 | $output .= $foreachCompiler->compileRestore($foreachLevels - 1); |
||
| 38 | } |
||
| 39 | $output .= "continue {$levels};?>"; |
||
| 40 | return $output; |
||
| 41 | } |
||
| 42 | } |
||
| 43 |