Conditions | 3 |
Paths | 4 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function render($viewName, $pData, $asString) { |
||
28 | if (\is_array ( $pData )) { |
||
29 | \extract ( $pData ); |
||
30 | } |
||
31 | $content = eval ( '?>' . $this->getTemplateParser ( $viewName )->__toString () ); |
||
1 ignored issue
–
show
|
|||
32 | if ($asString) |
||
33 | return $content; |
||
34 | else |
||
35 | echo $content; |
||
36 | } |
||
52 |